UserList and Student List part1

This commit is contained in:
Wal committed 2024-03-17 15:59:12 +01:00
1 parent 210fda0401
commit b2d0be014c
6 files changed
+22 -76

No files matched your search

+2 -2
View File
@@ -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