Skip to content
Snippets Groups Projects

Make queue java 11

Closed
Cédric Willekensrequested to merge
make-queue-java-11 into development
1 open thread
12 files
+ 308
18
Compare changes
  • Side-by-side
  • Inline

Files

@@ -65,7 +65,7 @@ public class AuthenticatedExpressionObjectFactory implements IExpressionObjectFa
if (authentication.getPrincipal() instanceof UserPrincipal) {
UserPrincipal userPrincipal = (UserPrincipal) authentication.getPrincipal();
return userRepository.findById(userPrincipal.getUser().getId());
return userRepository.findById(userPrincipal.getUser().getId()).orElseThrow();
}
return authentication.getPrincipal();
Loading