diff --git a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/service/PhotoEsServiceImpl.java b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/service/PhotoEsServiceImpl.java index d6ebc42..07e3231 100644 --- a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/service/PhotoEsServiceImpl.java +++ b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/service/PhotoEsServiceImpl.java @@ -29,7 +29,7 @@ public Page getPhotoEsListByShareGroupIdAndFaceTag(Long shareGroupId, L } @Override - @Transactional(readOnly = true) + @Transactional public Page getAllPhotoEsListByShareGroupId(Long shareGroupId, Member member, Pageable pageable) { validateShareGroupAndProfile(shareGroupId, member); Page photoEsList = photoEsClientRepository.findPhotoEsByShareGroupId(shareGroupId, pageable);