Skip to content

Commit

Permalink
Merge pull request #15 from SykesCottages/stop-attributes
Browse files Browse the repository at this point in the history
Stop Attributes
  • Loading branch information
exussum12 authored Mar 24, 2021
2 parents 23ff10c + 98f3df4 commit d33c427
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Connector/SQS.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ private function getMessageAttributes(array $message) : array
{
$messageAttributes = [];
foreach ($message as $key => $value) {
if ($key === 'message') {
continue;
}

$messageAttributes[$key] = [
'DataType' => 'String',
'StringValue' => $value,
Expand Down

0 comments on commit d33c427

Please sign in to comment.