Skip to content

Commit

Permalink
[fix] presigined url 적용 가능하게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Feb 16, 2024
1 parent 7de2df3 commit b60fb94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public CreateRoomResponseDto createNewRoom(Long memberId, CreateRoomRequestDto c
String invitationCode = generateUniqueInvitationCode();
Room room = Room.builder()
.gifteeName(createRoomRequestDto.gifteeName())
.imageUrl(DEFAULT_IMAGE_URL)
.imageUrl((createRoomRequestDto.imageUrl() != null && !createRoomRequestDto.imageUrl().trim().isEmpty()) ? createRoomRequestDto.imageUrl() : DEFAULT_IMAGE_URL)
.deliveryDate(createRoomRequestDto.deliveryDate())
.tournamentStartDate(createRoomRequestDto.tournamentStartDate())
.tournamentDuration(createRoomRequestDto.tournamentDuration())
Expand Down

0 comments on commit b60fb94

Please sign in to comment.