fix linting

This commit is contained in:
Michael Jerger 2024-02-09 16:44:03 +01:00
commit 3ef57385ec
6 changed files with 24 additions and 54 deletions

View file

@ -65,7 +65,7 @@ func FindFederatedUser(ctx context.Context, externalID string,
if err != nil {
return nil, nil, err
} else if !has {
return nil, nil, fmt.Errorf("User %v for federated user is missing.", federatedUser.UserID)
return nil, nil, fmt.Errorf("User %v for federated user is missing", federatedUser.UserID)
}
if res, err := validation.IsValid(*user); !res {