Merge branch 'FE/Logout' into 'frontend'
[Front-End] fix: logout 요청 메서드 get -> post See merge request s11-webmobile1-sub2/S11P12A701!23
This commit is contained in:
commit
a974de241b
@ -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