Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetBala-AOT authored Sep 10, 2024
1 parent a29dcb3 commit 4e93105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met-api/src/met_api/services/survey_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get(cls, survey_id):
extended_end_date = engagement_model.end_date + timedelta(days=1, hours=8)
# Get the current local datetime
current_datetime = local_datetime().replace(tzinfo=None)
if ((engagement_model.status_id == Status.Published.value) or \
if ((engagement_model.status_id == Status.Published.value) or
(engagement_model.status_id == Status.Closed.value and current_datetime <= extended_end_date)):
# Published Engagement anyone can access.
skip_auth = True
Expand Down

0 comments on commit 4e93105

Please sign in to comment.