Minor improvements to Taiga-Node

This commit is contained in:
Jan Oberhauser
2020-09-17 23:20:27 +02:00
parent bbfe59c211
commit 219a0d2560
3 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
import {
OptionsWithUri,
} from 'request';
} from 'request';
import {
IExecuteFunctions,
@@ -13,9 +13,9 @@ import {
import {
ICredentialDataDecryptedObject,
IDataObject,
} from 'n8n-workflow';
} from 'n8n-workflow';
import {
import {
createHash,
} from 'crypto';
@@ -101,7 +101,7 @@ export async function taigaApiRequest(
}
}
export async function taigaApiRequestAllItems(this: IHookFunctions | IExecuteFunctions| ILoadOptionsFunctions, method: string, resource: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
export async function taigaApiRequestAllItems(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: string, resource: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
const returnData: IDataObject[] = [];