From 8103131d1dedd5533a0d9ca2d03a3fb241bbe981 Mon Sep 17 00:00:00 2001 From: Vaclav Lunak Date: Wed, 7 Feb 2024 12:31:49 +0100 Subject: [PATCH] update glossary call to reflect the API changing --- rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.go b/rules.go index 20cb059..a6a4d8b 100644 --- a/rules.go +++ b/rules.go @@ -149,7 +149,7 @@ func handleGlossaryQuery(input string) string { log.Debug("In handleGlossaryQuery", "Define matched on", split) query := TryCoerceGlossaryQuery(strings.ToLower(split[1])) - url := glossaryEndpointURL + query + url := glossaryEndpointURL + query + "?fuzzy=true" log.Debug("findGlossary: Attempting to fetch", "URL", url) resp, err := http.Get(url) if err != nil {