Skip to content

Commit

Permalink
feature: change deletedMember's info value (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ji-soo708 authored May 13, 2024
1 parent 27f7f27 commit bc1999a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public DaytimePageResponse getDaytimePage(
if (member == null) {
return new MainPagePickerResponse(
pickMember.getFromMemberId(),
"UNKNOWN",
"UNKNOWN"
null,
null
);
}
return new MainPagePickerResponse(
Expand All @@ -121,7 +121,7 @@ public DaytimePageResponse getDaytimePage(
return new MainPageFeedResponse(
post.getId(),
post.getPostImgUrl(),
member != null ? member.name() : "UNKNOWN",
member != null ? member.name() : null,
post.getCreatedAt().atZone(ZoneId.systemDefault())
);
}).toList(),
Expand All @@ -131,7 +131,7 @@ public DaytimePageResponse getDaytimePage(
return new MainPageFeedResponse(
post.getId(),
post.getPostImgUrl(),
member != null ? member.name() : "UNKNOWN",
member != null ? member.name() : null,
post.getCreatedAt().atZone(ZoneId.systemDefault())
);
}).toList()
Expand Down

0 comments on commit bc1999a

Please sign in to comment.