From 67a9da2955283a4cc8069bff8deff40a4f2184ba Mon Sep 17 00:00:00 2001 From: Vaibhav sasulkar Date: Mon, 14 Oct 2024 17:29:24 +0530 Subject: [PATCH] moredetails path replaace with api --- blocks/moredetailsaddress/moredetailsaddress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/moredetailsaddress/moredetailsaddress.js b/blocks/moredetailsaddress/moredetailsaddress.js index ea00e35bc7..9e0d16dd2b 100644 --- a/blocks/moredetailsaddress/moredetailsaddress.js +++ b/blocks/moredetailsaddress/moredetailsaddress.js @@ -143,7 +143,7 @@ export function dropDownStateCity(response) { async function getReviewRating(placeID) { return new Promise((resolve, reject) => { // https://maps.googleapis.com/maps/api/place/details/json?place_id=${placeID}&key=AIzaSyDx1HwnCLjSSIm_gADqaYAZhSBh7hgcwTQ - fetchAPI('GET', `/content/piramalfinance-eds/mapapi.json?place_id=${placeID}&key=AIzaSyDx1HwnCLjSSIm_gADqaYAZhSBh7hgcwTQ`) // api for the get request + fetchAPI('GET', `/content/piramalfinance/api/mapapi.json?place_id=${placeID}&key=AIzaSyDx1HwnCLjSSIm_gADqaYAZhSBh7hgcwTQ`) // api for the get request .then((response) => response.json()) .then((data) => resolve(data)).catch((error) => console.log(error));