diff --git a/src/main/java/org/sopt/app/application/poke/FriendService.java b/src/main/java/org/sopt/app/application/poke/FriendService.java index 669b769b..18f33104 100644 --- a/src/main/java/org/sopt/app/application/poke/FriendService.java +++ b/src/main/java/org/sopt/app/application/poke/FriendService.java @@ -82,7 +82,7 @@ public Page findAllFriendsByFriendship(Long userId, Integer lowerLimit, .map(Entry::getKey) .toList(); - return friendRepository.findAllByUserIdAndFriendUserIdInOOrderByPokeCount(userId, friendIds, pageable); + return friendRepository.findAllByUserIdAndFriendUserIdInOrderByPokeCount(userId, friendIds, pageable); } diff --git a/src/main/java/org/sopt/app/interfaces/postgres/FriendRepository.java b/src/main/java/org/sopt/app/interfaces/postgres/FriendRepository.java index 25e40d94..40b712e2 100644 --- a/src/main/java/org/sopt/app/interfaces/postgres/FriendRepository.java +++ b/src/main/java/org/sopt/app/interfaces/postgres/FriendRepository.java @@ -30,5 +30,5 @@ public interface FriendRepository extends JpaRepository, FriendCus List findAllByUserIdAndFriendUserIdIn(Long userId, List friendIdsPokeMe); - Page findAllByUserIdAndFriendUserIdInOOrderByPokeCount(Long userId, List friendIdsPokeMe, Pageable pageable); + Page findAllByUserIdAndFriendUserIdInOrderByPokeCount(Long userId, List friendIdsPokeMe, Pageable pageable); }