mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
ci: Fix linting issues on master (no-changelog) (#5030)
* make CI logs less noisy. suppress linting warning * fix linting issues
This commit is contained in:
committed by
GitHub
parent
a8f4efaf3e
commit
a229788d4b
@@ -58,10 +58,10 @@ export async function googleApiRequest(
|
||||
);
|
||||
|
||||
options.headers!.Authorization = `Bearer ${access_token}`;
|
||||
return this.helpers.request!(options);
|
||||
return await this.helpers.request(options);
|
||||
} else {
|
||||
//@ts-ignore
|
||||
return this.helpers.requestOAuth2.call(this, 'googleDriveOAuth2Api', options);
|
||||
return await this.helpers.requestOAuth2.call(this, 'googleDriveOAuth2Api', options);
|
||||
}
|
||||
} catch (error) {
|
||||
if (error.code === 'ERR_OSSL_PEM_NO_START_LINE') {
|
||||
@@ -145,7 +145,7 @@ async function getAccessToken(
|
||||
json: true,
|
||||
};
|
||||
|
||||
return this.helpers.request!(options);
|
||||
return this.helpers.request(options);
|
||||
}
|
||||
|
||||
export function extractId(url: string): string {
|
||||
|
||||
Reference in New Issue
Block a user