From 6244093584479ebaa79591433dc911260c0be203 Mon Sep 17 00:00:00 2001 From: laurejablonski Date: Sat, 5 Apr 2025 17:25:03 +0200 Subject: [PATCH] fix: juiste input wordt doorgegeven --- frontend/src/controllers/students.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/controllers/students.ts b/frontend/src/controllers/students.ts index f74f02da..82fb2831 100644 --- a/frontend/src/controllers/students.ts +++ b/frontend/src/controllers/students.ts @@ -70,7 +70,7 @@ export class StudentController extends BaseController { } async createJoinRequest(username: string, classId: string): Promise { - return this.post(`/${username}/joinRequests}`, classId); + return this.post(`/${username}/joinRequests}`, { classId }); } async deleteJoinRequest(username: string, classId: string): Promise {