UserList and Student List part1
This commit is contained in:
@ -112,12 +112,12 @@ export async function getAllUsers(){
|
||||
* - role
|
||||
*/
|
||||
export async function getTeachers(){
|
||||
return restGet("/users/teacher")
|
||||
return restGet("/teachers")
|
||||
}
|
||||
|
||||
|
||||
export async function getStudents(){
|
||||
return restGet("/users/student")
|
||||
return restGet("/students")
|
||||
}
|
||||
/**
|
||||
* Get informations about yourself
|
||||
|
Reference in New Issue
Block a user