Skip to content

Commit

Permalink
[FIX] 회원 탈퇴가 정상적으로 이루어지지 않는 경우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tidavid1 committed Feb 21, 2024
1 parent 654ae10 commit 6edf79b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public interface UserJpaRepository extends JpaRepository<User, Long> {
@Query("select u from User u where u.id = :id and u.deletedAt is null")
Optional<User> findById(Long id);

@Query("select u from User u where u.githubPk = :githubPk and u.deletedAt is null")
Optional<User> findByGithubPk(Long githubPk);
}

0 comments on commit 6edf79b

Please sign in to comment.