-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 게시글 상세 조회 시 로그인하지 않은 사용자 예외 처리 강화
- 좋아요 여부를 직접적으로 반환받을 때 로그인 하지 않은 경우 member가 NULL이라 오류 발생 - 미리 좋아요 여부를 false로 지정해두고 null이 아닐 때만 DB에 접근하게 변경
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters