- Timestamp:
- 01/04/23 02:49:26 (23 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/service/impl/UserServiceImpl.java
r6832924 rae042f4 20 20 return userRepository.findAll(); 21 21 } 22 23 @Override 24 public User findByUsername(String username) { 25 return userRepository.findAllByUsername(username).stream().findFirst().orElseThrow(RuntimeException::new); 26 } 22 27 }
Note:
See TracChangeset
for help on using the changeset viewer.