From 4074224fca33d1215cfbb112f355ed2339591563 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:21:25 -0400 Subject: [PATCH] fact: fix web query --- plugins/fact/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fact/web.go b/plugins/fact/web.go index 4d3dd5c..ad321c8 100644 --- a/plugins/fact/web.go +++ b/plugins/fact/web.go @@ -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) {