Skip to content

Commit

Permalink
Merge pull request #517 from WWWPiramalFinanceCOM/feature/optimization
Browse files Browse the repository at this point in the history
 responce data parse commneted
  • Loading branch information
VaibhavSasulkar authored Oct 1, 2024
2 parents 29b2b17 + e3dc1f3 commit 148f6b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/branchlocator/branchlocator.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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 148f6b5

Please sign in to comment.