From 27f0e8d090b22c436814c3aee828e6f29e8ec774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20W=C3=B6rister?= <31357619+fwoerister@users.noreply.github.com> Date: Thu, 5 Feb 2026 13:52:59 +0100 Subject: [PATCH] correctly set next_grading_allowed_at field --- app/api/v1/exercise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/exercise.py b/app/api/v1/exercise.py index 1db5fe2..5e12247 100644 --- a/app/api/v1/exercise.py +++ b/app/api/v1/exercise.py @@ -110,7 +110,7 @@ async def get_current_exercise(tan_code: str, session: AsyncSession = Depends(ge return ExerciseWithUnlockTimestamps(**exercise.to_dict(), skip_unlock_time=( progress.start_time + timedelta(minutes=exercise.skip_delay)), - next_grading_allowed_at=progress.next_grading_allowed_at) + next_grading_allowed_at=next_grading) @router.post("/current/skip", status_code=status.HTTP_204_NO_CONTENT)