mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
parent
06cc2d4993
commit
db972b384f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue