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