diff options
Diffstat (limited to 'routes/api/v1/user/app.go')
-rw-r--r-- | routes/api/v1/user/app.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/routes/api/v1/user/app.go b/routes/api/v1/user/app.go index bda1e23f..09ac1909 100644 --- a/routes/api/v1/user/app.go +++ b/routes/api/v1/user/app.go @@ -5,13 +5,13 @@ package user import ( - api "github.com/gogits/go-gogs-client" + api "github.com/gogs/go-gogs-client" - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/pkg/context" + "github.com/gogs/gogs/models" + "github.com/gogs/gogs/pkg/context" ) -// https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user +// https://github.com/gogs/go-gogs-client/wiki/Users#list-access-tokens-for-a-user func ListAccessTokens(c *context.APIContext) { tokens, err := models.ListAccessTokens(c.User.ID) if err != nil { @@ -26,7 +26,7 @@ func ListAccessTokens(c *context.APIContext) { c.JSON(200, &apiTokens) } -// https://github.com/gogits/go-gogs-client/wiki/Users#create-a-access-token +// https://github.com/gogs/go-gogs-client/wiki/Users#create-a-access-token func CreateAccessToken(c *context.APIContext, form api.CreateAccessTokenOption) { t := &models.AccessToken{ UID: c.User.ID, |