diff options
author | zhuharev <hostmaster@zhuharev.ru> | 2016-01-06 22:41:42 +0300 |
---|---|---|
committer | zhuharev <hostmaster@zhuharev.ru> | 2016-01-06 22:41:42 +0300 |
commit | 0d5dc8a064faa978a4571f565b20959dcc49f181 (patch) | |
tree | 6e782852e3b8617e5ff804e101dc4ca730611dc1 /routers/repo | |
parent | 0cb739684096396e26595ac70817a2a05b61b443 (diff) | |
download | gitea-0d5dc8a064faa978a4571f565b20959dcc49f181.tar.gz gitea-0d5dc8a064faa978a4571f565b20959dcc49f181.zip |
typo fix
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/http.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go index c42f751572..e6726936ed 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -126,8 +126,8 @@ func HTTP(ctx *middleware.Context) { return } token.Updated = time.Now() - if err = models.UpdateAccessToekn(token); err != nil { - ctx.Handle(500, "UpdateAccessToekn", err) + if err = models.UpdateAccessToken(token); err != nil { + ctx.Handle(500, "UpdateAccessToken", err) } authUser, err = models.GetUserByID(token.UID) if err != nil { |