diff options
Diffstat (limited to 'cmd/serv.go')
-rw-r--r-- | cmd/serv.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/serv.go b/cmd/serv.go index d7e89ab98d..f7d025c68e 100644 --- a/cmd/serv.go +++ b/cmd/serv.go @@ -16,6 +16,7 @@ import ( "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/private" "code.gitea.io/gitea/modules/setting" "github.com/Unknwon/com" @@ -318,7 +319,7 @@ func runServ(c *cli.Context) error { // Update user key activity. if keyID > 0 { - if err = models.UpdatePublicKeyUpdated(keyID); err != nil { + if err = private.UpdatePublicKeyUpdated(keyID); err != nil { fail("Internal error", "UpdatePublicKey: %v", err) } } |