From 36c16632713b5e3866fd056e559a955939fdd3c2 Mon Sep 17 00:00:00 2001 From: ricardo Date: Mon, 13 Jul 2020 16:06:42 -0400 Subject: [PATCH] :zap: small fix --- packages/nodes-base/nodes/Box/GenericFunctions.ts | 3 ++- packages/nodes-base/nodes/Slack/GenericFunctions.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Box/GenericFunctions.ts b/packages/nodes-base/nodes/Box/GenericFunctions.ts index 4581c26c4f..ddbfd5f54b 100644 --- a/packages/nodes-base/nodes/Box/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Box/GenericFunctions.ts @@ -10,7 +10,8 @@ import { } from 'n8n-core'; import { - IDataObject, IOAuth2Options, + IDataObject, + IOAuth2Options, } from 'n8n-workflow'; export async function boxApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, method: string, resource: string, body: any = {}, qs: IDataObject = {}, uri?: string, option: IDataObject = {}): Promise { // tslint:disable-line:no-any diff --git a/packages/nodes-base/nodes/Slack/GenericFunctions.ts b/packages/nodes-base/nodes/Slack/GenericFunctions.ts index 40825e4885..5686d9c0e9 100644 --- a/packages/nodes-base/nodes/Slack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Slack/GenericFunctions.ts @@ -9,8 +9,10 @@ import { } from 'n8n-core'; import { - IDataObject, IOAuth2Options + IDataObject, + IOAuth2Options, } from 'n8n-workflow'; + import * as _ from 'lodash'; export async function slackApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, method: string, resource: string, body: object = {}, query: object = {}, headers: {} | undefined = undefined, option: {} = {}): Promise { // tslint:disable-line:no-any