diff --git a/packages/server/src/queries/complex/assets/market.ts b/packages/server/src/queries/complex/assets/market.ts index 9ed43971a2..27c7a6cf5a 100644 --- a/packages/server/src/queries/complex/assets/market.ts +++ b/packages/server/src/queries/complex/assets/market.ts @@ -227,7 +227,7 @@ function makeMarketActivityFromTokenData(tokenData: TokenData) { return { price: tokenData.price !== null - ? new PricePretty(DEFAULT_VS_CURRENCY, tokenData.price ?? 0) + ? new PricePretty(DEFAULT_VS_CURRENCY, tokenData.price) : undefined, denom: tokenData.denom, symbol: tokenData.symbol, diff --git a/packages/server/src/queries/data-services/token-data.ts b/packages/server/src/queries/data-services/token-data.ts index 903ccc3b76..3d24f816a0 100644 --- a/packages/server/src/queries/data-services/token-data.ts +++ b/packages/server/src/queries/data-services/token-data.ts @@ -9,7 +9,7 @@ export interface TokenData { main: boolean; liquidity: number | null; liquidity_24h_change: number | null; - volume_24h: number; + volume_24h: number | null; volume_24h_change: number | null; name: string; price_1h_change: number | null;