Skip to content
Snippets Groups Projects
Commit c8b37d93 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

[COMP-329] : fixing tox

parent bccd8294
No related branches found
No related tags found
1 merge request!94[COMP-329] : fixing tox
...@@ -58,12 +58,13 @@ SURVEY_ACTIVE_YEAR_RESPONSE_SCHEMA = { ...@@ -58,12 +58,13 @@ SURVEY_ACTIVE_YEAR_RESPONSE_SCHEMA = {
"additionalProperties": False "additionalProperties": False
} }
@routes.route('/active/year', methods=['GET']) @routes.route('/active/year', methods=['GET'])
@common.require_accepts_json @common.require_accepts_json
@login_required @login_required
def get_active_survey_year() -> Any: def get_active_survey_year() -> Any:
""" """
retrieve a year of latest active survey retrieve a year of latest active survey
response will be formatted as: response will be formatted as:
...@@ -82,9 +83,6 @@ def get_active_survey_year() -> Any: ...@@ -82,9 +83,6 @@ def get_active_survey_year() -> Any:
return {'message': 'No open survey found.'}, 404 return {'message': 'No open survey found.'}, 404
@routes.route('/list', methods=['GET']) @routes.route('/list', methods=['GET'])
@common.require_accepts_json @common.require_accepts_json
@login_required @login_required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment