mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
⚡ Add also json-data when Webhook receives binary data
This commit is contained in:
@@ -394,7 +394,11 @@ export class Webhook implements INodeType {
|
|||||||
req.on('end', async () => {
|
req.on('end', async () => {
|
||||||
const returnItem: INodeExecutionData = {
|
const returnItem: INodeExecutionData = {
|
||||||
binary: {},
|
binary: {},
|
||||||
json: {},
|
json: {
|
||||||
|
body: this.getBodyData(),
|
||||||
|
headers,
|
||||||
|
query: this.getQueryData(),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const returnData: IDataObject[] = [{ json: {} }];
|
const returnData: IDataObject[] = [{ json: {} }];
|
||||||
|
|||||||
Reference in New Issue
Block a user