From 68704532c28cf09db96c988291b2f82c5e615984 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 10 Dec 2022 10:46:31 +0800 Subject: Rename almost all Ctx functions (#22071) --- cmd/admin.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/admin.go b/cmd/admin.go index e4210213cd..7463b21d81 100644 --- a/cmd/admin.go +++ b/cmd/admin.go @@ -778,6 +778,7 @@ func runRepoSyncReleases(_ *cli.Context) error { func getReleaseCount(id int64) (int64, error) { return repo_model.GetReleaseCountByRepoID( + db.DefaultContext, id, repo_model.FindReleasesOptions{ IncludeTags: true, -- cgit v1.2.3