Skip to content

Commit

Permalink
[refac] add missing transational annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
kgy1008 committed Jul 14, 2024
1 parent ce2e48c commit f453c51
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f453c51

Please sign in to comment.