Skip to content

Commit

Permalink
[BUG] 프로젝트, 프로필 카드 리스트 조회할 때, 업적 조회 시 발생하는 NPE 해결 (#127)
Browse files Browse the repository at this point in the history
* [BUG] 프로젝트 카드 리스트 조회할 때, 업적 조회 시 발생하는 NPE 해결

* [BUG] 프로필 카드 리스트 조회할 때, 빈 업적 조회 시 발생하는 NPE 해결
  • Loading branch information
JIN-076 committed Feb 21, 2024
1 parent ece2405 commit 1a07b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public CursorPaginationResult<UserPublicApiResponse> findByConditionWithPaginati
profileCard.getUser().getGithubUrl(),
profileCard.getUser().getBio(),
profileCard.getUser().getJandiRate(),
profileCard.getUser().getAchievement().getTitle(),
profileCard.getUser().getAchievement() != null ? profileCard.getUser().getAchievement().getTitle() : null,
profileCard.getUser().getUserDevelopLanguageTags().stream().map(
UserDevelopLanguageTag::getDevelopLanguage).map(String::valueOf).toList(),
profileCard.getUser().getUserWantedJobTags().stream().map(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public CursorPaginationResult<ProjectDetailAPIRes> findByConditionWithPagination
project.getCreator().getGithubUrl(),
project.getCreator().getBio(),
project.getCreator().getJandiRate(),
project.getCreator().getAchievement().getTitle(),
project.getCreator().getAchievement() != null ? project.getCreator().getAchievement().getTitle() : null,
project.getCreator().getUserDevelopLanguageTags().stream().map(
UserDevelopLanguageTag::getDevelopLanguage).map(String::valueOf).toList(),
project.getCreator().getUserWantedJobTags().stream().map(
Expand Down

0 comments on commit 1a07b48

Please sign in to comment.