From d3320e341159446e317787212d2b121e11332059 Mon Sep 17 00:00:00 2001 From: Matheus Cansian Date: Sat, 5 Oct 2019 12:09:03 -0300 Subject: [PATCH] Remove ResponseMetadata from SNS node results --- packages/nodes-base/nodes/Aws/AwsSns.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Aws/AwsSns.node.ts b/packages/nodes-base/nodes/Aws/AwsSns.node.ts index 2e98a1b2f5..ad25539b67 100644 --- a/packages/nodes-base/nodes/Aws/AwsSns.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsSns.node.ts @@ -117,7 +117,7 @@ export class AwsSns implements INodeType { } catch (err) { throw new Error(`AWS Error: ${err}`); } - returnData.push(responseData as IDataObject); + returnData.push({MessageId: responseData.MessageId} as IDataObject); } return [this.helpers.returnJsonArray(returnData)];