aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorzhuharev <hostmaster@zhuharev.ru>2016-01-06 22:41:42 +0300
committerzhuharev <hostmaster@zhuharev.ru>2016-01-06 22:41:42 +0300
commit0d5dc8a064faa978a4571f565b20959dcc49f181 (patch)
tree6e782852e3b8617e5ff804e101dc4ca730611dc1 /routers/repo
parent0cb739684096396e26595ac70817a2a05b61b443 (diff)
downloadgitea-0d5dc8a064faa978a4571f565b20959dcc49f181.tar.gz
gitea-0d5dc8a064faa978a4571f565b20959dcc49f181.zip
typo fix
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/http.go4
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 {