Skip to content

Commit

Permalink
fix: Network type
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Apr 3, 2024
1 parent e088359 commit d4aa0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ports/catalog/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function fromCollectionsItemDbResultToCatalogItem(dbItem: CollectionsItem
isOnSale: dbItem.search_is_store_minter && +dbItem.available > 0,
creator: dbItem.creator,
data,
network: itemNetwork,
network: itemNetwork as Network.MATIC | Network.ETHEREUM,
chainId: itemNetwork === Network.ETHEREUM ? getEthereumChainId() : getPolygonChainId(),
price: dbItem.price,
createdAt: Number(dbItem.created_at),
Expand Down

0 comments on commit d4aa0c8

Please sign in to comment.