Skip to content

Commit

Permalink
fix: 유저가 자기 자신 visit했을때 비공개 메시지도 보이도록
Browse files Browse the repository at this point in the history
  • Loading branch information
peageon committed Dec 13, 2023
1 parent 0dc8554 commit bb82721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/src/modules/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class UserController {
const userData = await this.userService.getUserData(auth_id);
const result = this.userService.createUserInfo(
userData,
false,
req.hasToken,
!req.user ? 0 : req.user.id
);
return result;
Expand Down

0 comments on commit bb82721

Please sign in to comment.