Skip to content
Snippets Groups Projects

[COMP-329] : fixing tox

Merged Saket Agrahari requested to merge COMP-329 into develop
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading