mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
⚡ Remove no longer needed code
This commit is contained in:
parent
7c5f437e92
commit
8e57009b3b
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue