Skip to content

Commit

Permalink
Format file
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick11514 committed Oct 9, 2024
1 parent ebea729 commit 8b88a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def tasks_list_all(request: HttpRequest, subject_abbr: str | None = None):
"path": task.code,
"subject": task.subject.abbr,
"date": task.created_at,
"link": resolve_url("teacher_task", task_id=task.pk)
"link": resolve_url("teacher_task", task_id=task.pk),
}
)
return JsonResponse({"tasks": result, "count": allCount})
Expand Down

0 comments on commit 8b88a69

Please sign in to comment.