From 95c318d21fec904f3bd55851f67d3b40d623990c Mon Sep 17 00:00:00 2001 From: janmichek Date: Thu, 29 Feb 2024 11:14:38 +0100 Subject: [PATCH] fix fetching listed tokens --- .env.example | 4 ++-- src/utils/adapters.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 86dc09706..b61e531f3 100644 --- a/.env.example +++ b/.env.example @@ -4,10 +4,10 @@ NUXT_PUBLIC_PLAUSIBLE_DOMAIN=localhost:8080 NUXT_PUBLIC_MIDDLEWARE_URL=https://mainnet.aeternity.io/mdw NUXT_PUBLIC_NODE_URL=https://mainnet.aeternity.io NUXT_PUBLIC_WEBSOCKET_URL=wss://mainnet.aeternity.io/mdw/v2/websocket -NUXT_PUBLIC_DEX_BACKEND_URL=https://dex-backend-mainnet.prd.aepps.com +NUXT_PUBLIC_DEX_BACKEND_URL=https://dex-backend-mainnet.prd.service.aepps.com NUXT_PUBLIC_NETWORK_NAME=MAINNET NUXT_PUBLIC_ALTERNATIVE_NETWORK_URL=http://localhost:8081 NUXT_PUBLIC_ALTERNATIVE_NETWORK_NAME=TESTNET NUXT_PUBLIC_AE_TOKEN_ID=ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa NUXT_PUBLIC_DEBUG_MODE=false -NUXT_PUBLIC_SH_DEX_CONTRACTS='ct_2mfj3FoZxnhkSw5RZMcP8BfPoB1QR4QiYGNCdkAvLZ1zfF6paW;ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3' \ No newline at end of file +NUXT_PUBLIC_SH_DEX_CONTRACTS='ct_2mfj3FoZxnhkSw5RZMcP8BfPoB1QR4QiYGNCdkAvLZ1zfF6paW;ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3' diff --git a/src/utils/adapters.js b/src/utils/adapters.js index b7e161841..b0d805e7b 100644 --- a/src/utils/adapters.js +++ b/src/utils/adapters.js @@ -443,7 +443,6 @@ export function adaptTokenHolders(tokenHolders, tokenDetails) { export function adaptListedTokens(tokens) { const formattedData = tokens - .filter(token => token.listed === true) .map(token => { return { contractId: token.address,