diff --git a/src/Services/Processor/Substrate/Events/Implementations/Marketplace/ListingCreated.php b/src/Services/Processor/Substrate/Events/Implementations/Marketplace/ListingCreated.php index faccca6..3525c5e 100644 --- a/src/Services/Processor/Substrate/Events/Implementations/Marketplace/ListingCreated.php +++ b/src/Services/Processor/Substrate/Events/Implementations/Marketplace/ListingCreated.php @@ -28,7 +28,7 @@ public function run(Event $event, Block $block, Codec $codec): void return; } - if (!$this->shouldIndexCollection(Arr::get($event->makeAssetId, 'collection_id')) && !$this->shouldIndexCollection(Arr::get($event->takeAssetId, 'collection_id'))) { + if (!$this->shouldSyncCollection(Arr::get($event->makeAssetId, 'collection_id')) && !$this->shouldSyncCollection(Arr::get($event->takeAssetId, 'collection_id'))) { return; }