mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(AWS SNS Node): Fix an issue with messages failing to send if they contain certain characters (#5807)
This commit is contained in:
parent
e47190b560
commit
32c4eef574
|
@ -302,8 +302,8 @@ export class AwsSns implements INodeType {
|
|||
|
||||
const params = [
|
||||
'TopicArn=' + topic,
|
||||
'Subject=' + (this.getNodeParameter('subject', i) as string),
|
||||
'Message=' + (this.getNodeParameter('message', i) as string),
|
||||
'Subject=' + encodeURIComponent(this.getNodeParameter('subject', i) as string),
|
||||
'Message=' + encodeURIComponent(this.getNodeParameter('message', i) as string),
|
||||
];
|
||||
|
||||
const responseData = await awsApiRequestSOAP.call(
|
||||
|
|
Loading…
Reference in a new issue