This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Check Email Service in production"

Merged Administrator requested to merge 395-fixing-mail-sending into development
Compare and Show latest version
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
@@ -17,15 +17,13 @@ public class AuthorityService {
private final AuthorityRepository authorityRepository;
private final UserRepository userRepository;
public AuthorityService(UserRepository userRepository, AuthorityRepository authorityRepository) {
this.userRepository = userRepository;
public AuthorityService(AuthorityRepository authorityRepository) {
this.authorityRepository = authorityRepository;
}
// Get all users with authority ROLE_REVIEW_MANAGER
List<User> findAllUsersWithAuthority(String authority) {
log.info("Request to get all users with authority: {}", authority);
return authorityRepository.findAllUsersWithAuthority(authority);
}
}