Changeset 4a15c9c for src/main/java/it/finki/tinki/service
- Timestamp:
- 01/06/21 21:42:22 (4 years ago)
- Branches:
- master
- Children:
- 9d4220d
- Parents:
- 721cb87
- Location:
- src/main/java/it/finki/tinki/service
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/service/impl/AccountServiceImpl.java
r721cb87 r4a15c9c 40 40 41 41 if(type.equals(AccountType.USER)){ 42 User u1 = userRepository.findByEmailAndPassword(email, password);42 User u1 = this.userRepository.findByEmailAndPassword(email, password); 43 43 return u1; 44 44 } 45 45 else if(type.equals(AccountType.TEAM)){ 46 Team t1 = t eamRepository.findByEmailAndPassword(email, password);46 Team t1 = this.teamRepository.findByEmailAndPassword(email, password); 47 47 return t1; 48 48 } 49 49 else if(type.equals(AccountType.COMPANY)){ 50 Company c1 = companyRepository.findByEmailAndPassword(email, password);50 Company c1 = this.companyRepository.findByEmailAndPassword(email, password); 51 51 return c1; 52 52 }
Note:
See TracChangeset
for help on using the changeset viewer.