mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(Google Drive Node): Use the correct mimetype on converted downloads (#5240)
Fixes https://community.n8n.io/t/bug-with-google-drive-node-upload-function/21910/3
This commit is contained in:
committed by
GitHub
parent
0d33329bc8
commit
58d0890dc3
@@ -2297,7 +2297,7 @@ export class GoogleDrive implements INodeType {
|
||||
);
|
||||
}
|
||||
|
||||
const mimeType = file.mimeType ?? response.headers['content-type'] ?? undefined;
|
||||
const mimeType = response.headers['content-type'] ?? file.mimeType ?? undefined;
|
||||
const fileName = downloadOptions.fileName ?? file.name ?? undefined;
|
||||
|
||||
const newItem: INodeExecutionData = {
|
||||
|
||||
Reference in New Issue
Block a user