🐛 Fixes issue #735 (#743)

This commit is contained in:
Ricardo Espinoza
2020-07-10 04:38:23 -04:00
committed by GitHub
parent 06cc2d4993
commit db972b384f

View File

@@ -802,7 +802,7 @@ export class HttpRequest implements INodeType {
if (oAuth2Api !== undefined) { if (oAuth2Api !== undefined) {
//@ts-ignore //@ts-ignore
response = await this.helpers.requestOAuth2.call(this, 'oAuth2Api', requestOptions); response = await this.helpers.requestOAuth2.call(this, 'oAuth2Api', requestOptions, 'Bearer');
} else { } else {
response = await this.helpers.request(requestOptions); response = await this.helpers.request(requestOptions);
} }