Skip to content

Commit

Permalink
Fix job params
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Oct 14, 2024
1 parent 36ee8ee commit 2dfd0be
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Commands/SyncMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ public function handle(): void
'collection:id,collection_chain_id',
];
foreach ($query->with($withs)->lazy(config('enjin-platform.sync_metadata.data_chunk_size')) as $attribute) {
SyncMetadataJob::dispatch(
$attribute->collection->collection_chain_id,
$attribute->token?->token_chain_id,
$attribute->value_string
);
$progress->advance();
SyncMetadataJob::dispatch($attribute);
}

$progress->finish();
Expand Down

0 comments on commit 2dfd0be

Please sign in to comment.