Skip to content

Commit

Permalink
Merge pull request #75 from daniel-heppner-ibigroup/fix-reverse-query
Browse files Browse the repository at this point in the history
Fix reverse query generation
  • Loading branch information
miles-grant-ibigroup authored Feb 3, 2022
2 parents 8adf0ac + 9f21d03 commit 576a869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 576a869

Please sign in to comment.