mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
🐛 Fix folder-list bug on Dropbox-Node
This commit is contained in:
parent
b35612e571
commit
a651fb3b7d
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue