1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-13 13:44:08 +03:00

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: {} }];