diff --git a/src/main/java/net/teumteum/meeting/service/MeetingService.java b/src/main/java/net/teumteum/meeting/service/MeetingService.java index 0a5a2cb..602a5fb 100644 --- a/src/main/java/net/teumteum/meeting/service/MeetingService.java +++ b/src/main/java/net/teumteum/meeting/service/MeetingService.java @@ -150,6 +150,7 @@ public void cancelParticipant(Long meetingId, Long userId) { private void uploadMeetingImages(List images, Meeting meeting) { Assert.isTrue(!images.isEmpty() && images.size() <= 5, "이미지는 1개 이상 5개 이하로 업로드해야 합니다."); + meeting.getImageUrls().clear(); images.forEach( image -> meeting.getImageUrls().add( imageUpload.upload(image, meeting.getId().toString()).filePath()