Ignore:
Timestamp:
01/06/21 18:21:03 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
721cb87
Parents:
7edede9
Message:

added team register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/TeamRepository.java

    r7edede9 r504c3ef  
    55import org.springframework.stereotype.Repository;
    66
     7import java.util.Optional;
     8
    79@Repository
    810public interface TeamRepository extends JpaRepository<Team, Long> {
    911    Team findByEmailAndPassword(String email, String password);
     12    Optional<Team> findByEmail(String email);
    1013}
Note: See TracChangeset for help on using the changeset viewer.