Skip to content

Commit

Permalink
fix: remove rescheduling 30mins before exam start
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 committed Jan 4, 2024
1 parent ceed1ff commit db59858
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/shop/cred/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ def cred_your_exams(ua_contracts_api, trueability_api, **kwargs):
}
)

elif state == "Scheduled":
elif state == "Scheduled" and starts_at > now + timedelta(
minutes=30
):
actions.extend(
[
{
Expand Down

0 comments on commit db59858

Please sign in to comment.