Skip to content

Commit

Permalink
fix: 로그아웃시 쿠키가 삭제되지 않는 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ekek54 committed Dec 12, 2022
1 parent 07d14c1 commit 3e38efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/User/User.Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class UserController {
userService
.logout(userID)
.then(() => {
res.status(204).clearCookie("accessToken").clearCookie("refreshToken");
res.status(204).clearCookie("accessToken").clearCookie("refreshToken").end();
})
.catch((err) => {
next(err);
Expand Down

0 comments on commit 3e38efb

Please sign in to comment.