diff --git a/index.ts b/index.ts index 66e971b..daab657 100644 --- a/index.ts +++ b/index.ts @@ -211,7 +211,7 @@ function run({ query, url = searchUrl }: PeliasFetchArgs): JSONArrayPromise { - return fetch(`${url}?${stringify(query, {allowDots: true})}`, options) + return fetch(`${url}?${stringify(query, { allowDots: true })}`, options) .then((res) => res.json()) .then((json) => { let jsonResponse = json