Small fix

This commit is contained in:
ricardo 2020-06-25 23:37:26 -04:00
parent 11abbfc563
commit 9adc8ac300
2 changed files with 2 additions and 1 deletions

View file

@ -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) {

View file

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