From b70cbe58ce639e0282b88bc433a392e0b47fca3c Mon Sep 17 00:00:00 2001 From: Rupenieks Date: Thu, 4 Jun 2020 17:17:15 +0200 Subject: [PATCH] Removed logging --- packages/nodes-base/nodes/Dropbox/Dropbox.node.ts | 2 +- packages/nodes-base/nodes/Dropbox/GenericFunctions.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts index 56f806a523..5369ff3df3 100644 --- a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts +++ b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts @@ -619,7 +619,7 @@ export class Dropbox implements INodeType { } const responseData = await dropboxApiRequest.call(this, requestMethod, endpoint, body, headers, encoding); - console.log(responseData); + if (resource === 'file' && operation === 'download') { const newItem: INodeExecutionData = { diff --git a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts index 08e3b09ca5..2a84a0a90f 100644 --- a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts @@ -31,8 +31,6 @@ export async function dropboxApiRequest(this: IHookFunctions | IExecuteFunctions const authenticationMethod = this.getNodeParameter('authentication', 0) as string; - console.log(options); - try { if (authenticationMethod === 'accessToken') { return await this.helpers.request(options);