mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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
@@ -74,9 +74,9 @@ export async function apiRequest(
|
||||
const credentials = (await this.getCredentials('formstackApi')) as IDataObject;
|
||||
|
||||
options.headers!.Authorization = `Bearer ${credentials.accessToken}`;
|
||||
return await this.helpers.request!(options);
|
||||
return await this.helpers.request(options);
|
||||
} else {
|
||||
return await this.helpers.requestOAuth2!.call(this, 'formstackOAuth2Api', options);
|
||||
return await this.helpers.requestOAuth2.call(this, 'formstackOAuth2Api', options);
|
||||
}
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
|
||||
Reference in New Issue
Block a user