diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-06-05 02:49:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-05 02:49:46 -0500 |
commit | 703d18e50d69974779c5fab0d1bb6c082a3923fd (patch) | |
tree | 7837f4e248e7bfc4f91993dad64ab71efe01e26a /routers/api/v1/user | |
parent | ed31dff5ab9e3bc618c647acca2d3f34e720a2d7 (diff) | |
download | gitea-703d18e50d69974779c5fab0d1bb6c082a3923fd.tar.gz gitea-703d18e50d69974779c5fab0d1bb6c082a3923fd.zip |
feat: add check misspelling (#1877)
Diffstat (limited to 'routers/api/v1/user')
-rw-r--r-- | routers/api/v1/user/gpg_key.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/gpg_key.go b/routers/api/v1/user/gpg_key.go index 678816ccda..8c5e171b7f 100644 --- a/routers/api/v1/user/gpg_key.go +++ b/routers/api/v1/user/gpg_key.go @@ -146,7 +146,7 @@ func HandleAddGPGKeyError(ctx *context.APIContext, err error) { case models.IsErrGPGKeyAccessDenied(err): ctx.Error(422, "", "You do not have access to this gpg key") case models.IsErrGPGKeyIDAlreadyUsed(err): - ctx.Error(422, "", "A key with the same keyid is allready in database") + ctx.Error(422, "", "A key with the same keyid is already in database") default: ctx.Error(500, "AddGPGKey", err) } |