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

Merge branch 'COMP-329' into 'develop'

[COMP-329] : fixing tox

See merge request !94
parents 4d3704c8 c8b37d93
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 = {
"additionalProperties": False
}
@routes.route('/active/year', methods=['GET'])
@common.require_accepts_json
@login_required
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:
......@@ -82,9 +83,6 @@ def get_active_survey_year() -> Any:
return {'message': 'No open survey found.'}, 404
@routes.route('/list', methods=['GET'])
@common.require_accepts_json
@login_required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment