Remove unused KeyID
. (#29167)
`KeyID` is never set. (cherry picked from commit 155269fa586c41a268530c3bb56349e68e6761d7) Conflicts: models/user/email_address.go trivial context conflict
This commit is contained in:
parent
6eaabb1a9d
commit
52ef33b931
4 changed files with 12 additions and 17 deletions
|
@ -594,9 +594,7 @@ func GetOrgByID(ctx context.Context, id int64) (*Organization, error) {
|
|||
return nil, err
|
||||
} else if !has {
|
||||
return nil, user_model.ErrUserNotExist{
|
||||
UID: id,
|
||||
Name: "",
|
||||
KeyID: 0,
|
||||
UID: id,
|
||||
}
|
||||
}
|
||||
return u, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue