Skip to content

Commit

Permalink
mod: 프로필 이미지 조회 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
wonlog-g committed Aug 21, 2024
1 parent 7900abe commit bbb2abc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class DefaultMemberRelationUseCase(
return friends.map { friend ->
FriendInfo(
memberId = friend.id.value,
profileImageUrl = imageMap[friend.profileImageId.value]?.url.let { "" },
profileImageUrl = imageMap[friend.profileImageId.value]?.url ?: "",
memberName = friend.fullName,
platform = friend.platform.name,
ordinal = friend.ordinal
Expand All @@ -59,7 +59,7 @@ class DefaultMemberRelationUseCase(
return recommendFriends.map { friend ->
FriendInfo(
memberId = friend.id.value,
profileImageUrl = imageMap[friend.profileImageId.value]?.url.let { "" },
profileImageUrl = imageMap[friend.profileImageId.value]?.url ?: "",
memberName = friend.fullName,
platform = friend.platform.name,
ordinal = friend.ordinal
Expand Down

0 comments on commit bbb2abc

Please sign in to comment.