Add also json-data when Webhook receives binary data

This commit is contained in:
Jan Oberhauser 2020-03-25 00:13:40 +01:00
parent f0f4a04c74
commit 6785b1ed46

View file

@ -394,7 +394,11 @@ export class Webhook implements INodeType {
req.on('end', async () => {
const returnItem: INodeExecutionData = {
binary: {},
json: {},
json: {
body: this.getBodyData(),
headers,
query: this.getQueryData(),
},
};
const returnData: IDataObject[] = [{ json: {} }];