Skip to content

Commit

Permalink
hotfix - V2 welcome API is missing ETH in token list - avoiding the e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
zavelevsky committed Oct 29, 2023
1 parent 5b7b164 commit c6f5ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api/bancorApi/bancorApiV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export abstract class BancorV2Api {
dlt_id: wethToken,
symbol: 'WETH',
};
data.tokens.push(wethTkn);
if (weth) data.tokens.push(wethTkn);
return {
...data,
pools: data.pools.map((pool) => ({
Expand Down

0 comments on commit c6f5ef4

Please sign in to comment.