From 9adc8ac30057ce299d3028699480fdfeb71d228e Mon Sep 17 00:00:00 2001 From: ricardo Date: Thu, 25 Jun 2020 23:37:26 -0400 Subject: [PATCH] :zap: Small fix --- packages/nodes-base/nodes/Dropbox/GenericFunctions.ts | 2 +- packages/nodes-base/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts index 2a84a0a90f..b4744f5c72 100644 --- a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts @@ -35,7 +35,7 @@ export async function dropboxApiRequest(this: IHookFunctions | IExecuteFunctions if (authenticationMethod === 'accessToken') { return await this.helpers.request(options); } else { - return await this.helpers.requestOAuth.call(this, 'dropboxOAuth2Api', options); + return await this.helpers.requestOAuth2.call(this, 'dropboxOAuth2Api', options); } } catch (error) { if (error.statusCode === 401) { diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index cc7f61827b..8a32378963 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -49,6 +49,7 @@ "dist/credentials/DriftApi.credentials.js", "dist/credentials/DriftOAuth2Api.credentials.js", "dist/credentials/DropboxApi.credentials.js", + "dist/credentials/DropboxOAuth2Api.credentials.js", "dist/credentials/EventbriteApi.credentials.js", "dist/credentials/EventbriteOAuth2Api.credentials.js", "dist/credentials/FacebookGraphApi.credentials.js",