Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
compendium-v2
Commits
30f80aa2
Commit
30f80aa2
authored
1 year ago
by
Saket Agrahari
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compendium_v2/routes/survey.py
+2
-4
2 additions, 4 deletions
compendium_v2/routes/survey.py
with
2 additions
and
4 deletions
compendium_v2/routes/survey.py
+
2
−
4
View file @
30f80aa2
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment