mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Make it possible to set parents for GoogleDrive folder create
This commit is contained in:
@@ -689,10 +689,12 @@ export class GoogleDrive implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/operation': [
|
||||
'copy'
|
||||
'copy',
|
||||
'create',
|
||||
],
|
||||
'/resource': [
|
||||
'file',
|
||||
'folder',
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -700,7 +702,7 @@ export class GoogleDrive implements INodeType {
|
||||
multipleValues: true,
|
||||
},
|
||||
default: [],
|
||||
description: 'The IDs of the parent folders the file should be saved in.',
|
||||
description: 'The IDs of the parent folders the file/folder should be saved in.',
|
||||
},
|
||||
{
|
||||
displayName: 'Spaces',
|
||||
@@ -1084,6 +1086,7 @@ export class GoogleDrive implements INodeType {
|
||||
// @ts-ignore
|
||||
resource: fileMetadata,
|
||||
fields: queryFields,
|
||||
parents: options.parents || [],
|
||||
});
|
||||
|
||||
returnData.push(response.data as IDataObject);
|
||||
|
||||
Reference in New Issue
Block a user