Skip to content

Commit 2c9a7fa

Browse files
committed
Make MessageAttributes optional in SQS payload
1 parent 6d78ff5 commit 2c9a7fa

File tree

1 file changed

+1
-1
lines changed
  • runtimes/core/src/pubsub/sqs_sns

1 file changed

+1
-1
lines changed

runtimes/core/src/pubsub/sqs_sns/sub.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ struct SNSMessageWrapper {
320320
signing_cert_url: String,
321321
#[serde(rename = "UnsubscribeURL")]
322322
unsubscribe_url: String,
323-
#[serde(rename = "MessageAttributes")]
323+
#[serde(rename = "MessageAttributes", default)]
324324
message_attributes: HashMap<String, MessageAttribute>,
325325
}
326326

0 commit comments

Comments
 (0)