Next round of db.DefaultContext refactor (#27089)

Part of #27065
This commit is contained in:
JakobDev authored and GitHub committed 2023-09-16 14:39:12 +00:00
1 parent a1b2a11812
commit f91dbbba98
90 files changed
+434 -464

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ func TopicSearch(ctx *context.Context) {
},
}
topics, total, err := repo_model.FindTopics(opts)
topics, total, err := repo_model.FindTopics(ctx, opts)
if err != nil {
ctx.Error(http.StatusInternalServerError)
return