🐛 Fix folder-list bug on Dropbox-Node

This commit is contained in:
Jan Oberhauser 2019-07-14 17:15:48 +02:00
parent b35612e571
commit a651fb3b7d

View file

@ -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',