Skip to content

Commit

Permalink
Update analytics-api/src/analytics_api/models/request_type_option.py
Browse files Browse the repository at this point in the history
Co-authored-by: Baelx <[email protected]>
  • Loading branch information
VineetBala-AOT and Baelx authored Jan 9, 2024
1 parent e7818e6 commit 5d112d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_survey_result(
.group_by(survey_question.c.position, survey_question.c.label))

return survey_result.all()
# Check if there are records in survey_response before executing the final query which fetches reponses
# Check if there are records in survey_response before executing the final query which fetches responses
# even if the available_response table is not yet populated.
elif survey_response_exists:
survey_result = (db.session.query((survey_question.c.position).label('position'),
Expand Down

0 comments on commit 5d112d0

Please sign in to comment.