Skip to content

Commit

Permalink
bugfix: fix null - create API
Browse files Browse the repository at this point in the history
  • Loading branch information
suakang17 committed Feb 22, 2024
1 parent 4339361 commit 879f8be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public RoomResponseDto convertRoom(Room room) {
.users(room.getUsers().stream().map(this::convertUser).collect(Collectors.toList()))
.musicCount(room.getPlaylist().getMusics().size())
.playlist(room.getPlaylist())
.createdAt(room.getCreatedAt())
.thumbnailImage(room.getThumbnailImage()) // 플레이리스트에 곡 무조건 존재함을 신뢰
.build();
}
Expand Down

0 comments on commit 879f8be

Please sign in to comment.