fix(Google Drive Node): Fix issue preventing upload / update working in some configurations (#8417)

This commit is contained in:
Jon
2024-01-23 16:30:15 +00:00
committed by GitHub
parent a8b4684192
commit 4b3ea81028
9 changed files with 11 additions and 10 deletions

View File

@@ -203,7 +203,7 @@ export async function execute(this: IExecuteFunctions, i: number): Promise<INode
{ uploadType: 'resumable' },
undefined,
{
resolveWithFullResponse: true,
returnFullResponse: true,
},
);
const uploadUrl = resumableUpload.headers.location;

View File

@@ -123,9 +123,10 @@ export async function execute(this: IExecuteFunctions, i: number): Promise<INode
{ uploadType: 'resumable' },
undefined,
{
resolveWithFullResponse: true,
returnFullResponse: true,
},
);
const uploadUrl = resumableUpload.headers.location;
let offset = 0;