mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Bug Fixes
This commit is contained in:
@@ -46,11 +46,9 @@ export async function googleApiRequest(this: IExecuteFunctions | IExecuteSingleF
|
||||
const { access_token } = await getAccessToken.call(this, credentials as IDataObject);
|
||||
|
||||
options.headers!.Authorization = `Bearer ${access_token}`;
|
||||
console.log(options);
|
||||
//@ts-ignore
|
||||
return await this.helpers.request(options);
|
||||
} else {
|
||||
console.log(this.getCredentials('googleBooksOAuth2Api'));
|
||||
//@ts-ignore
|
||||
return await this.helpers.requestOAuth2.call(this, 'googleBooksOAuth2Api', options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user