mirror of
https://gitee.com/gitea/gitea
synced 2025-11-03 16:10:25 +08:00
Rename almost all Ctx functions (#22071)
This commit is contained in:
@@ -135,7 +135,7 @@ func releasesOrTags(ctx *context.Context, isTagList bool) {
|
||||
return
|
||||
}
|
||||
|
||||
count, err := repo_model.GetReleaseCountByRepoID(ctx.Repo.Repository.ID, opts)
|
||||
count, err := repo_model.GetReleaseCountByRepoID(ctx, ctx.Repo.Repository.ID, opts)
|
||||
if err != nil {
|
||||
ctx.ServerError("GetReleaseCountByRepoID", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user