Skip to content

Commit

Permalink
Merge pull request #267 from Wingle-SMWU/feat/회원탈퇴-#261
Browse files Browse the repository at this point in the history
[fix] 탈퇴한 유저의 자유게시판 글 조회 시 닉네임 (알수없음)으로 수정
  • Loading branch information
Lightieey authored Aug 21, 2023
2 parents cacf973 + 8c9df67 commit ca53b4d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public ProcessedPersonalInformation processPersonalInformation(Writing writing)
}

// 게시판별 작성자명
String nickname = forumService.getNicknameByForum(forum, profile);
String nickname = writing.getMember().isDeleted() ? "(알수없음)" :
forumService.getNicknameByForum(forum, profile);
// 게시판별 멤버id
String processedMemberId = ForumCode.from(forum.getName()).equals(ForumCode.EXCHANGE) ?
AES256Util.encrypt(writing.getMember().getId().toString()) :
Expand Down

0 comments on commit ca53b4d

Please sign in to comment.