Skip to content

Commit

Permalink
update: ContactRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Oct 16, 2024
1 parent cad3e0e commit 766a9ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Contact, Integer> {
public interface ContactRepository extends JpaRepository<Contact, UUID> {

Optional<Contact> findByEmailIgnoreCase(String email);

Expand Down

0 comments on commit 766a9ce

Please sign in to comment.