mirror of https://github.com/go-gitea/gitea
fix
This commit is contained in:
parent
5c3f7aa231
commit
c704332d23
|
@ -987,7 +987,7 @@ func renderCode(ctx *context.Context) {
|
|||
if ctx.Repo.Repository.IsFork {
|
||||
baseRepo = ctx.Repo.Repository.BaseRepo
|
||||
}
|
||||
branches, err := git_model.FindRecentlyPushedNewBranches(ctx, baseRepo, ctx.Doer)
|
||||
branches, err := git_model.FindRecentlyPushedNewBranches(ctx, baseRepo, ctx.Doer, 0)
|
||||
if err != nil {
|
||||
ctx.ServerError("FindRecentlyPushedNewBranches", err)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue