Skip to content

Commit

Permalink
Fix parse json format
Browse files Browse the repository at this point in the history
  • Loading branch information
kak2z7702 committed Jan 26, 2022
1 parent da255e7 commit 0e64088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sqs/SqsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function payload()
$payload['job'] = $this->handler;

if ($this->isJson($payload['Message']) === true) {
$payload['data'] = json_decode($payload['Message'], true);
$payload['data'] = $payload['Message'];
} else {
$payload['data'] = unserialize($payload['Message']);
}
Expand Down

0 comments on commit 0e64088

Please sign in to comment.