From 8e57009b3b843b325879f2d7439b22f5a45881db Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 30 Mar 2020 13:37:04 +0200 Subject: [PATCH] :zap: Remove no longer needed code --- packages/nodes-base/nodes/Webhook.node.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/nodes-base/nodes/Webhook.node.ts b/packages/nodes-base/nodes/Webhook.node.ts index f549e02754..4c15233807 100644 --- a/packages/nodes-base/nodes/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook.node.ts @@ -401,11 +401,6 @@ export class Webhook implements INodeType { }, }; - const returnData: IDataObject[] = [{ json: {} }]; - set(returnData[0], `binary[${binaryPropertyName}]`, { - data: Buffer.concat(data).toString(BINARY_ENCODING), - mimeType: req.headers['content-type'], - }); returnItem.binary![binaryPropertyName as string] = await this.helpers.prepareBinaryData(Buffer.concat(data)); return resolve({