From a45c9acb671e0266a65779bb1c8a6e4db1adf121 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 30 Mar 2020 09:20:40 +0200 Subject: [PATCH] :zap: Minor cleanup HelpScout-Node --- packages/nodes-base/nodes/HelpScout/ConversationDescription.ts | 2 +- packages/nodes-base/nodes/HelpScout/CustomerDescription.ts | 2 +- packages/nodes-base/nodes/HelpScout/GenericFunctions.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts index 30b46368a7..1ab9dd88ea 100644 --- a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts @@ -584,7 +584,7 @@ export const conversationFields = [ value: 'asc', }, { - name: 'Desc', + name: 'DESC', value: 'desc', }, ], diff --git a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts index 5f353d0bd5..1b3466d078 100644 --- a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts @@ -687,7 +687,7 @@ export const customerFields = [ value: 'asc', }, { - name: 'Desc', + name: 'DESC', value: 'desc', }, ], diff --git a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts index ab933856c9..76b64ed3e7 100644 --- a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts @@ -12,7 +12,6 @@ import { import { get, } from 'lodash'; -import { queryResult } from 'pg-promise'; export async function helpscoutApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, method: string, resource: string, body: any = {}, qs: IDataObject = {}, uri?: string, option: IDataObject = {}): Promise { // tslint:disable-line:no-any let options: OptionsWithUri = {