Remove unused KeyID. (#29167)

`KeyID` is never set.
This commit is contained in:
KN4CK3R
2024-02-14 18:50:10 +01:00
committed by GitHub
parent d0183dfa49
commit 155269fa58
4 changed files with 12 additions and 17 deletions

View File

@ -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