251210_01_ENH : 프로젝트 수정, 에디터 구현중
This commit is contained in:
@@ -24,7 +24,10 @@ const LogoutPage = () => {
|
||||
logout();
|
||||
|
||||
try {
|
||||
await nextApi.post(`/logout/${userId}`);
|
||||
if(userId !== ""){
|
||||
const logoutRequestOptions = {autoLogoutOnAuthError: false};
|
||||
await nextApi.post(`/logout/${userId}`, null, logoutRequestOptions);
|
||||
}
|
||||
} catch (e) {
|
||||
const err = apiError(e);
|
||||
console.error(err.status, err.code, err.message);
|
||||
|
||||
Reference in New Issue
Block a user