mirror of
https://github.com/ershisan99/todolist_next.git
synced 2025-12-16 12:33:57 +00:00
remove logout
This commit is contained in:
@@ -26,11 +26,6 @@ export const AuthApi = {
|
|||||||
|
|
||||||
return res.data
|
return res.data
|
||||||
},
|
},
|
||||||
async logout() {
|
|
||||||
const res = await todolistApiInstance.delete<LogoutResponse>("/auth/login")
|
|
||||||
|
|
||||||
return handleError(res.data)
|
|
||||||
},
|
|
||||||
|
|
||||||
async me() {
|
async me() {
|
||||||
const res = await todolistApiInstance.get<MeResponse>("/auth/me")
|
const res = await todolistApiInstance.get<MeResponse>("/auth/me")
|
||||||
|
|||||||
Reference in New Issue
Block a user