fact: fix web query

This commit is contained in:
Chris Sexton 2024-10-09 21:21:25 -04:00
parent 067d3064a6
commit 4074224fca
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func (p *FactoidPlugin) registerWeb() {
}
type SearchReq struct {
Query string `in:"query"`
Query string `in:"form=query"`
}
func (p *FactoidPlugin) handleSearch(w http.ResponseWriter, r *http.Request) {