Checkopoint added hql
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user