mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-29 05:33:53 +00:00
fix linting
This commit is contained in:
parent
3b244d673b
commit
3ef57385ec
6 changed files with 24 additions and 54 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue