chore: make golangci-lint happy

This commit is contained in:
Steven
2022-08-24 21:53:12 +08:00
parent 0e4e2e4bc5
commit 7d0407013e
14 changed files with 130 additions and 35 deletions

View File

@ -258,6 +258,10 @@ func patchUser(ctx context.Context, tx *sql.Tx, patch *api.UserPatch) (*userRaw,
return nil, FormatError(err)
}
if err := row.Err(); err != nil {
return nil, err
}
return &userRaw, nil
}