build: Upgrade to Vite 5 (#7784)

This commit is contained in:
Csaba Tuncsik
2023-11-23 11:55:02 +01:00
committed by GitHub
parent 77bc8ecd4b
commit e128b23a2b
32 changed files with 442 additions and 94 deletions

View File

@@ -179,9 +179,8 @@ export const objectOperations: INodeProperties[] = [
// Set the headers
if (!requestOptions.headers) requestOptions.headers = {};
requestOptions.headers['Content-Length'] = body.getLengthSync();
requestOptions.headers[
'Content-Type'
] = `multipart/related; boundary=${body.getBoundary()}`;
requestOptions.headers['Content-Type'] =
`multipart/related; boundary=${body.getBoundary()}`;
// Return the request data
requestOptions.body = body;