Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator committed Sep 18, 2024
1 parent 14ab1a2 commit da3d10a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/src/queries/complex/assets/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/queries/data-services/token-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da3d10a

Please sign in to comment.