diff --git a/src/main/java/com/chat/yourway/repository/jpa/ContactRepository.java b/src/main/java/com/chat/yourway/repository/jpa/ContactRepository.java index 096c40d..702ff74 100644 --- a/src/main/java/com/chat/yourway/repository/jpa/ContactRepository.java +++ b/src/main/java/com/chat/yourway/repository/jpa/ContactRepository.java @@ -6,12 +6,13 @@ import org.springframework.data.jpa.repository.Query; import java.util.Optional; +import java.util.UUID; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; @Repository -public interface ContactRepository extends JpaRepository { +public interface ContactRepository extends JpaRepository { Optional findByEmailIgnoreCase(String email);