Skip to content

Commit

Permalink
Add UUID to payload
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekLouis committed Feb 25, 2021
1 parent 74c84bc commit d5de7e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Sqs/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ private function modifyPayload($payload, $class)

$body = [
'job' => $class . '@handle',
'data' => isset($body['data']) ? $body['data'] : $body
'data' => isset($body['data']) ? $body['data'] : $body,
'uuid' => $payload['MessageId']
];

$payload['Body'] = json_encode($body);
Expand Down

0 comments on commit d5de7e9

Please sign in to comment.