From 766a9ce4bba4bb21bce3968d365b75aa1100c504 Mon Sep 17 00:00:00 2001 From: Vladik-gif Date: Wed, 16 Oct 2024 15:35:13 +0300 Subject: [PATCH] update: ContactRepository --- .../com/chat/yourway/repository/jpa/ContactRepository.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);