👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -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) {