diff --git a/nodes/FriendGrid/GenericFunctions.ts b/nodes/FriendGrid/GenericFunctions.ts index 0135d85..29cc623 100644 --- a/nodes/FriendGrid/GenericFunctions.ts +++ b/nodes/FriendGrid/GenericFunctions.ts @@ -16,7 +16,7 @@ import { } from 'n8n-workflow'; export async function friendGridApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, - method: string, endpoint: string, body?: object, qs?: object, uri?: string): Promise { // tslint:disable-line:no-any + method: string, endpoint: string, body: object = {}, qs: object = {}, uri?: string): Promise { // tslint:disable-line:no-any //Get credentials the user provided for this node const credentials = await this.getCredentials('friendGridApi') as IDataObject;