Skip to content

Commit

Permalink
fix :: WordService 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ReasOon committed Nov 29, 2024
1 parent 9c2e16e commit d425bbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Page<WordSummaryResponseDto> getWordsByCategory(String category, Long id,

if (id != null) {
UserInfo userInfo = userInfoRepository.findById(id)
.orElseThrow(() -> new UserNotFoundException("해당 ID의 사용자가 존재하지 않습니다.");
.orElseThrow(() -> new UserNotFoundException("해당 ID의 사용자가 존재하지 않습니다."));

isBookmarked = userInfo.getFavoriteWords().contains(word);
}
Expand Down

0 comments on commit d425bbd

Please sign in to comment.