Remove unused KeyID. (#29167)

`KeyID` is never set.
This commit is contained in:
KN4CK3R authored and GitHub committed 2024-02-14 12:50:10 -05:00
1 parent d0183dfa49
commit 155269fa58
4 files changed
+12 -17

No files matched your search

+1 -3
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