🐛 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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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