diff options
Diffstat (limited to 'routers/api/v1/user/key.go')
-rw-r--r-- | routers/api/v1/user/key.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go index 284653b108..04252524b7 100644 --- a/routers/api/v1/user/key.go +++ b/routers/api/v1/user/key.go @@ -48,7 +48,7 @@ func listPublicKeys(ctx *context.APIContext, user *models.User) { var keys []*models.PublicKey var err error - fingerprint := ctx.Form("fingerprint") + fingerprint := ctx.FormString("fingerprint") username := ctx.Params("username") if fingerprint != "" { |