Skip to content

Commit 7e1abbe

Browse files
committed
fix merge
1 parent f3c00ff commit 7e1abbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/repo/wiki.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package repo
66

77
import (
88
"bytes"
9-
gocontext "context"
109
"io"
1110
"net/http"
1211
"net/url"
@@ -666,7 +665,7 @@ func WikiPages(ctx *context.Context) {
666665
}
667666
allEntries.CustomSort(base.NaturalSortLess)
668667

669-
entries, _, err := allEntries.GetCommitsInfo(gocontext.Context(ctx), commit, treePath)
668+
entries, _, err := allEntries.GetCommitsInfo(ctx, ctx.Repo.RepoLink, commit, treePath)
670669
if err != nil {
671670
ctx.ServerError("GetCommitsInfo", err)
672671
return

0 commit comments

Comments
 (0)