mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
⚡ Add also json-data when Webhook receives binary data
This commit is contained in:
parent
f0f4a04c74
commit
6785b1ed46
|
@ -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: {} }];
|
||||
|
|
Loading…
Reference in a new issue