From 9f21d036593c77ccbb743e770741bb895e5dfdeb Mon Sep 17 00:00:00 2001 From: Daniel Heppner Date: Mon, 27 Dec 2021 19:59:23 -0800 Subject: [PATCH] fix(index): fix reverse query generation --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index edf37b6..66e971b 100644 --- a/index.ts +++ b/index.ts @@ -211,7 +211,7 @@ function run({ query, url = searchUrl }: PeliasFetchArgs): JSONArrayPromise { - return fetch(`${url}?${stringify(query)}`, options) + return fetch(`${url}?${stringify(query, {allowDots: true})}`, options) .then((res) => res.json()) .then((json) => { let jsonResponse = json