fix : logout 요청 post로 변경

This commit is contained in:
정기영 2024-08-02 13:25:21 +09:00
parent 3540180742
commit d231c8ec46

View File

@ -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);