Skip to content

Commit

Permalink
#82 fix : email 검증시 email -> UserEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Apr 26, 2024
1 parent 6fdbc9f commit 6d67e53
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.seoultech.synergybe.domain.user.repository;

import com.seoultech.synergybe.domain.user.User;
import com.seoultech.synergybe.domain.user.vo.UserEmail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
Expand All @@ -20,5 +21,5 @@ public interface UserRepository extends JpaRepository<User, String>, UserReposit

Page<User> findAll(Specification<User> spec, Pageable pageable);

boolean existsByEmail(String email);
boolean existsByEmail(UserEmail email);
}

0 comments on commit 6d67e53

Please sign in to comment.