aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/home.go')
-rw-r--r--routers/web/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/home.go b/routers/web/home.go
index 0c74987ba7..7640243ba0 100644
--- a/routers/web/home.go
+++ b/routers/web/home.go
@@ -88,7 +88,7 @@ func HomeSitemap(ctx *context.Context) {
}
}
- _, cnt, err := repo_model.SearchRepository(&repo_model.SearchRepoOptions{
+ _, cnt, err := repo_model.SearchRepository(ctx, &repo_model.SearchRepoOptions{
ListOptions: db.ListOptions{
PageSize: 1,
},