From e7b101d9a51c9bad322bd94abea939b6369dcee9 Mon Sep 17 00:00:00 2001 From: Emerson Cavalcanti Date: Mon, 16 Sep 2024 07:01:23 -0300 Subject: [PATCH] fix: change URL of Here API (#411) --- src/providers/hereProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/hereProvider.ts b/src/providers/hereProvider.ts index 1292eb949..2025e6cbc 100644 --- a/src/providers/hereProvider.ts +++ b/src/providers/hereProvider.ts @@ -41,7 +41,7 @@ export default class HereProvider extends AbstractProvider< RequestResult, RawResult > { - searchUrl = 'https://geocode.search.hereapi.com/v1/autosuggest'; + searchUrl = 'https://geocode.search.hereapi.com/v1/geocode'; endpoint({ query }: EndpointArgument): string { const params = typeof query === 'string' ? { q: query } : query;