fix: [backend:exercise] Make sure to iterate over keys
This commit is contained in:
parent
202f7b7eb6
commit
8a64f84140
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ def mark_task_incomplete(user_id: int, exercise_uuid: str , task_uuid: str):
|
|||
def get_progress():
|
||||
completion_for_users = get_completion_for_users()
|
||||
progress = {}
|
||||
for user_id in completion_for_users:
|
||||
for user_id in completion_for_users.keys():
|
||||
progress[user_id] = {
|
||||
'email': db.USER_ID_TO_EMAIL_MAPPING[user_id],
|
||||
'exercises': {},
|
||||
|
|
Loading…
Reference in a new issue