diff --git a/docroot/modules/custom/va_gov_eca/src/Plugin/Action/CreateAdvancedQueueJob.php b/docroot/modules/custom/va_gov_eca/src/Plugin/Action/CreateAdvancedQueueJob.php index 63a743943d..a1b6ccd683 100644 --- a/docroot/modules/custom/va_gov_eca/src/Plugin/Action/CreateAdvancedQueueJob.php +++ b/docroot/modules/custom/va_gov_eca/src/Plugin/Action/CreateAdvancedQueueJob.php @@ -78,7 +78,7 @@ public function execute() { if ($this->configuration['queue']) { Queue::load($this->configuration['queue'])?->enqueueJob($job); } - $this->tokenService->addTokenData($this->configuration['token_name'], DataTransferObject::create([$job])); + $this->tokenService->addTokenData($this->configuration['token_name'], DataTransferObject::create($job->toArray())); } /**