Skip to content

Commit

Permalink
VACMS-19060: Ensure job is exported as an associative array to allow …
Browse files Browse the repository at this point in the history
…for proper tokenization of the DTO. (#20200)
  • Loading branch information
dsasser authored Jan 6, 2025
1 parent 3a22d84 commit e896d49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}

/**
Expand Down

0 comments on commit e896d49

Please sign in to comment.