summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2020-12-24 18:14:01 +0000
committerGitHub <noreply@github.com>2020-12-24 18:14:01 +0000
commitbdeccc36886d6df4f2a8fce9e5f71e866e9902fc (patch)
tree0f47ad698b6a5a7788fa1a2e03138f086e86b37a /routers
parentfa2e34928d56598268bbf37e175a291a4b40e92c (diff)
downloadgitea-bdeccc36886d6df4f2a8fce9e5f71e866e9902fc.tar.gz
gitea-bdeccc36886d6df4f2a8fce9e5f71e866e9902fc.zip
Fix api doc response code (#14123)
Fixes #14120
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/user/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go
index d02b8cea21..547730ea57 100644
--- a/routers/api/v1/user/app.go
+++ b/routers/api/v1/user/app.go
@@ -85,7 +85,7 @@ func CreateAccessToken(ctx *context.APIContext, form api.CreateAccessTokenOption
// name:
// type: string
// responses:
- // "200":
+ // "201":
// "$ref": "#/responses/AccessToken"
t := &models.AccessToken{