Remove ResponseMetadata from SNS node results

This commit is contained in:
Matheus Cansian 2019-10-05 12:09:03 -03:00
parent 3e80d742e2
commit d3320e3411

View file

@ -117,7 +117,7 @@ export class AwsSns implements INodeType {
} catch (err) { } catch (err) {
throw new Error(`AWS Error: ${err}`); throw new Error(`AWS Error: ${err}`);
} }
returnData.push(responseData as IDataObject); returnData.push({MessageId: responseData.MessageId} as IDataObject);
} }
return [this.helpers.returnJsonArray(returnData)]; return [this.helpers.returnJsonArray(returnData)];