Skip to content

Commit 9a5e964

Browse files
authored
fix: 로직 수정 (#236)
Co-authored-by: 나용준 <141994188+youngJun99@users.noreply.github.com>
1 parent 300c29e commit 9a5e964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cherrypic-api/src/main/java/org/cherrypic/domain/event/service/EventServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void addImages(Long eventId, EventImageAddRequest request) {
135135
validateSubscriptionNotExpired(event.getAlbum());
136136

137137
validateAllImageExistence(distinctImageIds);
138-
validateAllImageAlbum(distinctImageIds, eventId);
138+
validateAllImageAlbum(distinctImageIds, event.getAlbum().getId());
139139

140140
List<Image> images = getAllUnmappedImagesById(eventId, distinctImageIds);
141141
if (images.isEmpty()) return; // 사용자가 모두 해당 event에 이미 속하는 사진만 고른 경우

0 commit comments

Comments
 (0)