fix : logout 요청 post로 변경
This commit is contained in:
parent
3540180742
commit
d231c8ec46
@ -46,7 +46,7 @@ export function useAuth() {
|
||||
|
||||
const logout = () => {
|
||||
return instance
|
||||
.get(`${API_URL}/user/logout`)
|
||||
.post(`${API_URL}/user/logout`)
|
||||
.then((response) => {
|
||||
console.log(response);
|
||||
setUserType(null);
|
||||
|
Loading…
Reference in New Issue
Block a user