mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +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: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
'file',
|
'file',
|
||||||
|
'folder',
|
||||||
],
|
],
|
||||||
operation: [
|
operation: [
|
||||||
'share',
|
'share',
|
||||||
'folder',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2067,7 +2067,8 @@ export class GoogleDrive implements INodeType {
|
|||||||
|
|
||||||
returnData.push(response as IDataObject);
|
returnData.push(response as IDataObject);
|
||||||
}
|
}
|
||||||
} else if (['file', 'folder'].includes(resource)) {
|
}
|
||||||
|
if (['file', 'folder'].includes(resource)) {
|
||||||
if (operation === 'delete') {
|
if (operation === 'delete') {
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
// delete
|
// delete
|
||||||
|
|||||||
Reference in New Issue
Block a user