fix: rename API routes
This commit is contained in:
parent
a2fce34a87
commit
fadf68152d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 });
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue