fix: search.go: pass ShouldEnable
This commit is contained in:
parent
68c11932e1
commit
8b3961e633
@ -35,11 +35,12 @@ func (h *handler) Search(c *gin.Context) {
|
||||
|
||||
var count int64
|
||||
param := problem.QueryData{
|
||||
Keyword: req.Keyword,
|
||||
Tag: req.Tag,
|
||||
Offset: req.Offset,
|
||||
Limit: req.Limit,
|
||||
Count: &count,
|
||||
Keyword: req.Keyword,
|
||||
Tag: req.Tag,
|
||||
ShouldEnable: true,
|
||||
Offset: req.Offset,
|
||||
Limit: req.Limit,
|
||||
Count: &count,
|
||||
}
|
||||
|
||||
problems, status := h.problemService.QueryFuzz(¶m)
|
||||
|
Loading…
Reference in New Issue
Block a user