mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix Google Drive delete and share (#1384)
* Fix condition that never evaluated to true * Fix missing permissions for folder:share
This commit is contained in:
@@ -530,10 +530,10 @@ export class GoogleDrive implements INodeType {
|
||||
show: {
|
||||
resource: [
|
||||
'file',
|
||||
'folder',
|
||||
],
|
||||
operation: [
|
||||
'share',
|
||||
'folder',
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -2067,7 +2067,8 @@ export class GoogleDrive implements INodeType {
|
||||
|
||||
returnData.push(response as IDataObject);
|
||||
}
|
||||
} else if (['file', 'folder'].includes(resource)) {
|
||||
}
|
||||
if (['file', 'folder'].includes(resource)) {
|
||||
if (operation === 'delete') {
|
||||
// ----------------------------------
|
||||
// delete
|
||||
|
||||
Reference in New Issue
Block a user