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