Ignore:
Timestamp:
02/09/22 03:14:08 (3 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
967b414
Parents:
c02189f
Message:

Added User profiles, improved clarity, improved UI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/service/impl/UserServiceImpl.java

    rc02189f r3fe36de  
    4848
    4949    @Override
     50    public User findById(Integer id) {
     51        return userRepository.findById(id).orElseThrow(() -> new UserNotExistException(id.toString()));
     52    }
     53
     54    @Override
    5055    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
    5156        return this.findByUsername(username);
Note: See TracChangeset for help on using the changeset viewer.