Skip to content

Commit

Permalink
branch locator response changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 3, 2024
1 parent a3c5663 commit aff2c2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/moredetailsaddress/moredetailsaddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export default async function decorate(block) {

let url = linkURL.textContent.trim();
let urlRepoonse = await CFApiCall(url);
const jsonResponseData = JSON.parse(urlRepoonse?.data[0]?.branchlocatorobj);
// const jsonResponseData = JSON.parse(urlRepoonse?.data[0]?.branchlocatorobj);
const jsonResponseData = urlRepoonse?.data;

if(sessionStorage.getItem('data')){
setLocationObj.getExcelData = JSON.parse(sessionStorage.getItem('data'));
Expand Down

0 comments on commit aff2c2d

Please sign in to comment.