From 4127ced9770b42f5d33c77f22d4e85c965be7783 Mon Sep 17 00:00:00 2001 From: gol2580 Date: Sat, 20 Jan 2024 13:38:01 +0900 Subject: [PATCH] [CI] update code-deploy.yml --- .../domain/notification/repository/FCMTokenRepository.java | 2 ++ .../domain/notification/repository/NotificationRepository.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/kimgreen/backend/domain/notification/repository/FCMTokenRepository.java b/src/main/java/com/kimgreen/backend/domain/notification/repository/FCMTokenRepository.java index d778384..814efd9 100644 --- a/src/main/java/com/kimgreen/backend/domain/notification/repository/FCMTokenRepository.java +++ b/src/main/java/com/kimgreen/backend/domain/notification/repository/FCMTokenRepository.java @@ -2,7 +2,9 @@ import com.kimgreen.backend.domain.notification.entity.FCMToken; import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; +@Repository public interface FCMTokenRepository extends JpaRepository { public FCMToken findByReceiverId(String email); public boolean existsByReceiverId(String email); diff --git a/src/main/java/com/kimgreen/backend/domain/notification/repository/NotificationRepository.java b/src/main/java/com/kimgreen/backend/domain/notification/repository/NotificationRepository.java index 3c2fd5f..686e15e 100644 --- a/src/main/java/com/kimgreen/backend/domain/notification/repository/NotificationRepository.java +++ b/src/main/java/com/kimgreen/backend/domain/notification/repository/NotificationRepository.java @@ -5,7 +5,9 @@ import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; +@Repository public interface NotificationRepository extends JpaRepository { Page findAllByMember(Member member, Pageable pageable); }