mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix folder-list bug on Dropbox-Node
This commit is contained in:
@@ -419,7 +419,6 @@ export class Dropbox implements INodeType {
|
|||||||
name: 'path',
|
name: 'path',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
required: true,
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
operation: [
|
operation: [
|
||||||
@@ -637,7 +636,7 @@ export class Dropbox implements INodeType {
|
|||||||
const filePathDownload = this.getNodeParameter('path', i) as string;
|
const filePathDownload = this.getNodeParameter('path', i) as string;
|
||||||
items[i].binary![dataPropertyNameDownload] = await this.helpers.prepareBinaryData(responseData, filePathDownload);
|
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 } = {
|
const propNames: { [key: string]: string } = {
|
||||||
'id': 'id',
|
'id': 'id',
|
||||||
|
|||||||
Reference in New Issue
Block a user