Skip to content

Commit

Permalink
adapt to new sdk return type
Browse files Browse the repository at this point in the history
  • Loading branch information
melisaguevara committed Nov 15, 2024
1 parent dfba096 commit cc9a7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/coingecko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const handler = async (
);
} else {
if (CG_CONTRACTS_DEFERRED_TO_ID.has(l1Token)) {
price = await coingeckoClient.getCurrentPriceById(
[, price] = await coingeckoClient.getCurrentPriceById(
l1Token,
modifiedBaseCurrency
);
Expand Down

0 comments on commit cc9a7d0

Please sign in to comment.