Skip to content

Commit

Permalink
[CI] update code-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 committed Jan 20, 2024
1 parent e5d4f77 commit 4127ced
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<FCMToken,Long> {
public FCMToken findByReceiverId(String email);
public boolean existsByReceiverId(String email);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Notification,Long> {
Page<Notification> findAllByMember(Member member, Pageable pageable);
}

0 comments on commit 4127ced

Please sign in to comment.