Improvements

This commit is contained in:
ricardo
2020-06-07 17:29:13 -04:00
parent aff24bb1a5
commit 5e93b37c6e
8 changed files with 402 additions and 38 deletions

View File

@@ -801,6 +801,7 @@ export class HttpRequest implements INodeType {
// Now that the options are all set make the actual http request
if (oAuth2Api !== undefined) {
//@ts-ignore
response = await this.helpers.requestOAuth2.call(this, 'oAuth2Api', requestOptions);
} else {
response = await this.helpers.request(requestOptions);