diff options
Diffstat (limited to 'routers/web/user/setting/keys.go')
-rw-r--r-- | routers/web/user/setting/keys.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/setting/keys.go b/routers/web/user/setting/keys.go index 2cc627ecde..a8d07ea47a 100644 --- a/routers/web/user/setting/keys.go +++ b/routers/web/user/setting/keys.go @@ -269,7 +269,7 @@ func loadKeysData(ctx *context.Context) { } ctx.Data["ExternalKeys"] = externalKeys - gpgkeys, err := asymkey_model.ListGPGKeys(db.DefaultContext, ctx.Doer.ID, db.ListOptions{}) + gpgkeys, err := asymkey_model.ListGPGKeys(ctx, ctx.Doer.ID, db.ListOptions{}) if err != nil { ctx.ServerError("ListGPGKeys", err) return |