Skip to content

Commit

Permalink
fix error missing chain
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 17, 2025
1 parent 439d530 commit 04ffb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge-aggregators/bitgetwallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ interface IVolumeBridge {
async function queryDataByApi(timestamp:string, path:string){
const historicalVolumeEndpoint = "https://new-swapopen.bitapi.vip/st";
let info = await httpGet(`${historicalVolumeEndpoint}${path}`);
const data : IVolumeBridge[] = (info)?.data.list;
const data : IVolumeBridge[] = (info)?.data?.list || [];
return data
}

Expand Down

0 comments on commit 04ffb72

Please sign in to comment.