From b6625873e58734218863c9c93add4fd6be1068f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20G=C3=B6rlitz?= Date: Mon, 20 May 2024 23:17:58 +0200 Subject: [PATCH] fix course progress page. --- .../UserCourseProgressAdministrationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/user-course-progress/UserCourseProgressAdministrationController.ts b/backend/src/controllers/user-course-progress/UserCourseProgressAdministrationController.ts index 867089a..fda52a8 100644 --- a/backend/src/controllers/user-course-progress/UserCourseProgressAdministrationController.ts +++ b/backend/src/controllers/user-course-progress/UserCourseProgressAdministrationController.ts @@ -112,7 +112,7 @@ async function getInformation(request: Request, response: Response, next: NextFu return; } - response.send(user); + response.send(dbUser); } catch (e) { next(e); }