diff --git a/backend/emm-sale/src/main/java/com/emmsale/notification/application/NotificationQueryService.java b/backend/emm-sale/src/main/java/com/emmsale/notification/application/NotificationQueryService.java index ad5eb85d1..122e56f9f 100644 --- a/backend/emm-sale/src/main/java/com/emmsale/notification/application/NotificationQueryService.java +++ b/backend/emm-sale/src/main/java/com/emmsale/notification/application/NotificationQueryService.java @@ -10,9 +10,11 @@ import java.util.stream.Collectors; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; @Service @RequiredArgsConstructor +@Transactional(readOnly = true) public class NotificationQueryService { private final NotificationRepository notificationRepository;