🐛 Fix download for some files via Box node (#2669)

This commit is contained in:
Jonathan Bennetts 2022-01-15 19:12:32 +00:00 committed by GitHub
parent 3d4c1cb23f
commit 27c5b218ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ export class Box implements INodeType {
let mimeType: string | undefined;
responseData = await boxApiRequest.call(this, 'GET', `/files/${fileId}/content`, {}, {}, undefined, { resolveWithFullResponse: true });
responseData = await boxApiRequest.call(this, 'GET', `/files/${fileId}/content`, {}, {}, undefined, { encoding: null, resolveWithFullResponse: true });
const newItem: INodeExecutionData = {
json: items[i].json,