From a651fb3b7dde3e3a3ef7b9a0fe7a5f664d78d573 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sun, 14 Jul 2019 17:15:48 +0200 Subject: [PATCH] :bug: Fix folder-list bug on Dropbox-Node --- packages/nodes-base/nodes/Dropbox/Dropbox.node.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts index 39d0cbb668..0b8bf051b4 100644 --- a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts +++ b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts @@ -419,7 +419,6 @@ export class Dropbox implements INodeType { name: 'path', type: 'string', default: '', - required: true, displayOptions: { show: { operation: [ @@ -637,7 +636,7 @@ export class Dropbox implements INodeType { const filePathDownload = this.getNodeParameter('path', i) as string; items[i].binary![dataPropertyNameDownload] = await this.helpers.prepareBinaryData(responseData, filePathDownload); - } else if (operation === 'listFolderContent') { + } else if (resource === 'folder' && operation === 'list') { const propNames: { [key: string]: string } = { 'id': 'id',