From 340751f6cbcb5b2d7ef11ae13de0dc1b1acc3fd2 Mon Sep 17 00:00:00 2001 From: iBinh Date: Thu, 20 May 2021 09:53:20 +0700 Subject: [PATCH] v1.0.4 --- package.json | 2 +- services/autocomplete.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 87a8cd0..f0057e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@goongmaps/goong-sdk", - "version": "1.0.3", + "version": "1.0.4", "description": "JS SDK for Goong REST API", "main": "index.js", "files": [ diff --git a/services/autocomplete.js b/services/autocomplete.js index af61c50..4dd7c70 100644 --- a/services/autocomplete.js +++ b/services/autocomplete.js @@ -57,7 +57,7 @@ Autocomplete.search = function(config) { return this.client.createRequest({ method: 'GET', - path: '/Place/AutoComplete', + path: '/place/autocomplete', query: config }); }; @@ -89,7 +89,7 @@ Autocomplete.placeDetail = function(config) { return this.client.createRequest({ method: 'GET', - path: '/Place/Detail', + path: '/place/detail', query: config }); };