1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 00:38:36 +00:00

remove unnecessary parameter

This commit is contained in:
Lunny Xiao
2024-12-12 15:08:58 -08:00
parent 050fad97d6
commit 95bccdbc3b
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ func CompareDiff(ctx *context.APIContext) {
pathParam := ctx.PathParam("*")
baseRepo := ctx.Repo.Repository
ci, err := common.ParseComparePathParams(ctx, pathParam, baseRepo, ctx.Repo.GitRepo, ctx.Doer)
ci, err := common.ParseComparePathParams(ctx, pathParam, baseRepo, ctx.Repo.GitRepo)
if err != nil {
switch {
case user_model.IsErrUserNotExist(err):