Skip to content

Commit

Permalink
feat: 앨범 숫자
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Dec 12, 2024
1 parent 5a0aa60 commit fc2290e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public Mono<AlbumEntity> addSumoneAlbum(String albumName, String albumType, Stri
)
)
)
.then(Mono.just(album)))
.flatMap(album -> albumCommand.increaseAlbumPhotoCount(album, displayIndex.get()));
.then(albumQuery.findById(album.getAlbumId()))
.flatMap(newAlbum -> albumCommand.increaseAlbumPhotoCount(newAlbum, displayIndex.get())));
}

@Transactional
Expand Down

0 comments on commit fc2290e

Please sign in to comment.