mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Remove no longer needed code
This commit is contained in:
@@ -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));
|
returnItem.binary![binaryPropertyName as string] = await this.helpers.prepareBinaryData(Buffer.concat(data));
|
||||||
|
|
||||||
return resolve({
|
return resolve({
|
||||||
|
|||||||
Reference in New Issue
Block a user