Skip to content

Commit

Permalink
fix: change URL of Here API (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
emersoncavalcanti1972 authored Sep 16, 2024
1 parent 9197b37 commit e7b101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/hereProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7b101d

Please sign in to comment.