Minor cleanup HelpScout-Node

This commit is contained in:
Jan Oberhauser 2020-03-30 09:20:40 +02:00
parent 5caaa741bb
commit a45c9acb67
3 changed files with 2 additions and 3 deletions

View file

@ -584,7 +584,7 @@ export const conversationFields = [
value: 'asc',
},
{
name: 'Desc',
name: 'DESC',
value: 'desc',
},
],

View file

@ -687,7 +687,7 @@ export const customerFields = [
value: 'asc',
},
{
name: 'Desc',
name: 'DESC',
value: 'desc',
},
],

View file

@ -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<any> { // tslint:disable-line:no-any
let options: OptionsWithUri = {