Skip to content

Commit

Permalink
Add moodle API
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoest committed Jan 10, 2025
1 parent 21d4151 commit b70a315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S1/waitinglists/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ def enrol_and_check_overrides(vatsim_id: int):
res = send_moodle_enrol_user(vatsim_id, 86)
for id in quiz_ids:
attempts = send_moodle_count_attempts(vatsim_id, id)
send_moodle_override_attempts(vatsim_id, id, attempts)
if attempts > 0:
send_moodle_override_attempts(vatsim_id, id, attempts + 1)

0 comments on commit b70a315

Please sign in to comment.