diff --git a/src/main/java/org/hankki/hankkiserver/api/store/service/StoreQueryService.java b/src/main/java/org/hankki/hankkiserver/api/store/service/StoreQueryService.java index 70656e5b..bc3756f4 100644 --- a/src/main/java/org/hankki/hankkiserver/api/store/service/StoreQueryService.java +++ b/src/main/java/org/hankki/hankkiserver/api/store/service/StoreQueryService.java @@ -76,6 +76,7 @@ private static boolean isLiked(final Long id, final Heart heart) { return heart.getUser().getId().equals(id); } + @Transactional(readOnly = true) public StoreDuplicateValidationResponse validateDuplicatedStore(final StoreDuplicateValidationRequest request) { Long storeId = storeFinder.findStoreWithLatitudeAndLongitude(request.latitude(), request.longitude()) .map(Store::getId)