aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin.go')
-rw-r--r--cmd/admin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 64106f5060..858498ed37 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -25,6 +25,7 @@ import (
"code.gitea.io/gitea/modules/storage"
auth_service "code.gitea.io/gitea/services/auth"
"code.gitea.io/gitea/services/auth/source/oauth2"
+ repo_service "code.gitea.io/gitea/services/repository"
"github.com/urfave/cli"
)
@@ -612,7 +613,7 @@ func runRegenerateHooks(_ *cli.Context) error {
if err := initDB(ctx); err != nil {
return err
}
- return repo_module.SyncRepositoryHooks(graceful.GetManager().ShutdownContext())
+ return repo_service.SyncRepositoryHooks(graceful.GetManager().ShutdownContext())
}
func runRegenerateKeys(_ *cli.Context) error {