Skip to content

Commit

Permalink
[#128] fix: 내가 참여한 팀 API 반환값에 postId 정보 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
dl-00-e8 committed May 20, 2024
1 parent f940f05 commit a6bd007
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@Builder
public record ParticipationList(
Long postId,
String title,
String leaderName,
LocalDateTime startDate,
Expand All @@ -17,6 +18,7 @@ public record ParticipationList(
) {
public static ParticipationList of(Post post) {
return ParticipationList.builder()
.postId(post.getPostId())
.title(post.getTitle())
.leaderName(post.getMember().getName())
.startDate(post.getStartDate())
Expand Down

0 comments on commit a6bd007

Please sign in to comment.