Ignore:
Timestamp:
01/08/21 20:46:33 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
bd38a55
Parents:
31fc5c8
Message:

refactor and edit team/company/user

File:
1 edited

Legend:

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

    r31fc5c8 r14b648e  
    1010public interface CompanyRepository extends JpaRepository<Company, Long> {
    1111    Company findByEmailAndPassword(String email, String password);
    12     Optional<Object> findByEmail(String email);
     12    Optional<Company> findByEmail(String email);
     13    Optional<Company> findByIdAndEmail(Long id, String email);
    1314}
Note: See TracChangeset for help on using the changeset viewer.