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:
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 New Issue
Block a user