Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
fixed spacing in error log
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaGalabut committed Jan 3, 2024
1 parent e4a25df commit 497da84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ protected ValidationErrors validateCreateApikey( UserData loggedUser, String org
private ValidationErrors validateEmailOrganizationAccess( String organizationId, String email ) {
return accounts.getUser( email )
.filter( u -> !u.belongsToOrganization( organizationId ) && u.getRole( SYSTEM ).isEmpty() )
.map( u -> error( FORBIDDEN, "User " + email + "does not belong to organization " + organizationId ) )
.map( u -> error( FORBIDDEN, "User " + email+ " does not belong to organization " + organizationId ) )
.orElse( empty() );
}

Expand Down

0 comments on commit 497da84

Please sign in to comment.