diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index f3836c0ac2..fb17dbaa80 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -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