diff --git a/app/lib/api.ts b/app/lib/api.ts index 7a2531f..d16197a 100644 --- a/app/lib/api.ts +++ b/app/lib/api.ts @@ -92,12 +92,12 @@ export const getStudentMatch = async ( classId: string ) => { return makeRequest( - `/api/match-student?firstName=${firstName}&lastName=${lastName}&classId=${classId}` + `/users/match-student?firstName=${firstName}&lastName=${lastName}&classId=${classId}` ); }; export const mergeStudent = async (studentId: string) => { - return makePostRequest("/api/merge-student", { pastStudentId: studentId }); + return makePostRequest("/users/merge-student", { pastStudentId: studentId }); }; /**