Added endpoint - waiting for other branch to merge to master

This commit is contained in:
BuildTools
2020-10-30 14:53:33 +01:00
parent 4267fadf62
commit ca01b20221
2 changed files with 44 additions and 27 deletions

View File

@ -49,4 +49,8 @@ public class UserService {
return this.repo.searchForUsers(query, UserRoles.STUDENT);
}
public Optional<User> getById(Long userId) {
return this.repo.findById(userId);
}
}