fix: juiste input wordt doorgegeven
This commit is contained in:
parent
b25901cbb7
commit
6244093584
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export class StudentController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
async createJoinRequest(username: string, classId: string): Promise<JoinRequestResponse> {
|
async createJoinRequest(username: string, classId: string): Promise<JoinRequestResponse> {
|
||||||
return this.post<JoinRequestResponse>(`/${username}/joinRequests}`, classId);
|
return this.post<JoinRequestResponse>(`/${username}/joinRequests}`, { classId });
|
||||||
}
|
}
|
||||||
|
|
||||||
async deleteJoinRequest(username: string, classId: string): Promise<JoinRequestResponse> {
|
async deleteJoinRequest(username: string, classId: string): Promise<JoinRequestResponse> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue