Skip to content

Commit

Permalink
devop: add platform and type
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Sep 8, 2023
1 parent 78b8593 commit 8d155a5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ const getTokens = (
}
let url = "";
if (chain === NetworkNames.Ethereum || chain === NetworkNames.Binance)
url = `${API_ENPOINT}${supportedNetworks[chain].tbName}?address=${address}`;
else url = `${API_ENPOINT2}${supportedNetworks[chain].tbName}/${address}`;
url = `${API_ENPOINT}${supportedNetworks[chain].tbName}?address=${address}&platform=enkrypt&type=internal`;
else
url = `${API_ENPOINT2}${supportedNetworks[chain].tbName}/${address}?platform=enkrypt&type=internal`;
return fetch(url)
.then((res) => res.json())
.then((json) => {
Expand Down

1 comment on commit 8d155a5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.