add logout
This commit is contained in:
@@ -4,3 +4,7 @@ export async function loginUser(data: any) {
|
||||
return await callAPI.post("/auth/login", data).then((res) => res.data);
|
||||
}
|
||||
|
||||
export async function logoutUser() {
|
||||
return await callAPI.post("/auth/logout").then((res) => res.data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user