mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
|
||||
export async function getAuthorization(
|
||||
this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IWebhookFunctions,
|
||||
credentials?: ICredentialDataDecryptedObject,
|
||||
credentials?: ICredentialDataDecryptedObject
|
||||
): Promise<string> {
|
||||
if (credentials === undefined) {
|
||||
throw new Error('No credentials got returned!');
|
||||
@@ -56,7 +56,7 @@ export async function taigaApiRequest(
|
||||
body = {},
|
||||
query = {},
|
||||
uri?: string | undefined,
|
||||
option = {},
|
||||
option = {}
|
||||
): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
const version = this.getNodeParameter('version', 0, 'cloud') as string;
|
||||
@@ -82,7 +82,7 @@ export async function taigaApiRequest(
|
||||
method,
|
||||
body,
|
||||
uri: uri || (credentials.url) ? `${credentials.url}/api/v1${resource}` : `https://api.taiga.io/api/v1${resource}`,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
|
||||
if (Object.keys(option).length !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user