From 5b15d5ff67c47b1552444cd90daf9895a3cf7254 Mon Sep 17 00:00:00 2001 From: danielailie Date: Thu, 18 Jan 2024 13:21:45 +0200 Subject: [PATCH] Add logging --- src/modules/nftCollections/models/Collection.dto.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/nftCollections/models/Collection.dto.ts b/src/modules/nftCollections/models/Collection.dto.ts index 268d6af3e..7d032c3d2 100644 --- a/src/modules/nftCollections/models/Collection.dto.ts +++ b/src/modules/nftCollections/models/Collection.dto.ts @@ -124,6 +124,10 @@ export class Collection { static fromCollectionElastic(collectionElastic: any, artistAddress?: string, followersCount?: number) { if (!collectionElastic) return null; + if (!collectionElastic.currentOwner) { + console.log({ collectionElastic }); + } + console.log(); return new Collection({ collection: collectionElastic.token, artistAddress: artistAddress,