mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(GitHub Node): Fix binary data not being returned (#4017)
Fix binary data not being returned in Github node
This commit is contained in:
committed by
GitHub
parent
6216132ae2
commit
5753110402
@@ -2137,8 +2137,7 @@ export class Github implements INodeType {
|
||||
// but the incoming data does not get changed.
|
||||
Object.assign(newItem.binary as object, items[i].binary!);
|
||||
}
|
||||
|
||||
const { content, path } = responseData[i].json;
|
||||
const { content, path } = responseData;
|
||||
newItem.binary![binaryPropertyName] = await this.helpers.prepareBinaryData(
|
||||
Buffer.from(content as string, 'base64'),
|
||||
path as string,
|
||||
|
||||
Reference in New Issue
Block a user