mirror of https://github.com/velour/catbase.git
fact: fix web query
This commit is contained in:
parent
067d3064a6
commit
4074224fca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue