Checkopoint added hql

This commit is contained in:
BuildTools
2020-11-17 19:36:56 +01:00
parent c34ce94fb0
commit 3e7086eab9
5 changed files with 71 additions and 5 deletions

View File

@ -31,8 +31,8 @@ public class UserService {
return token;
}
public void save(User user) {
this.repo.save(user);
public User save(User user) {
return this.repo.save(user);
}
public User getUserByEmail(String email) throws UserNotFoundException {