diff --git a/src/main/kotlin/zip/cafe/repository/LocalAuthRepository.kt b/src/main/kotlin/zip/cafe/repository/LocalAuthRepository.kt index ca6fc22..17f1f41 100644 --- a/src/main/kotlin/zip/cafe/repository/LocalAuthRepository.kt +++ b/src/main/kotlin/zip/cafe/repository/LocalAuthRepository.kt @@ -10,7 +10,6 @@ interface LocalAuthRepository : JpaRepository { @Query("select a from LocalAuth a where a.localId = :localId and a.isDeleted = false") fun findByLocalId(localId: String): LocalAuth? - @Query("select exists(select a from LocalAuth a where a.localId = :localId and a.isDeleted = false)") fun existsByLocalIdIs(localId: String): Boolean @Query("select a from LocalAuth a where a.member.id = :memberId and a.isDeleted = false")