first commit
This commit is contained in:
5
services/api/department.api.ts
Normal file
5
services/api/department.api.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import callAPI from "../caller/config";
|
||||
|
||||
export async function getDepartments() {
|
||||
return await callAPI.get("/department/all").then((res) => res.data);
|
||||
}
|
||||
Reference in New Issue
Block a user