Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
fix create professors
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-OP committed Mar 3, 2024
1 parent 7d9a553 commit 9c62c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/pages/Auth/api/useCreateProfessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const useCreateProfessor = () => {
const { request, loading } = useHttp();

const createProfessor = async (data: any) => {
const res = await request(users + 'professor', HTTP_METHOD.POST, data);
const res = await request(users + '/professor', HTTP_METHOD.POST, data);
return res?.success;
};

Expand Down

0 comments on commit 9c62c9e

Please sign in to comment.