Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…lfinance into feature/bugfixes-dev
  • Loading branch information
npy11 authored and npy11 committed Oct 14, 2024
2 parents 8e9ac0a + 3b2acfa commit 752685c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/moredetailsaddress/moredetailsaddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 752685c

Please sign in to comment.