From 3b9a93baf5fef7e953f1e30ba8c9023dc3837481 Mon Sep 17 00:00:00 2001 From: bflykky Date: Thu, 22 Aug 2024 02:54:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20readOnly=20=3D=20true=20=EC=86=8D?= =?UTF-8?q?=EC=84=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/photo/elasticsearch/service/PhotoEsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);