This commit is contained in:
Ricardo Espinoza
2019-11-21 12:39:04 -05:00
parent 503baf82f7
commit 1b111d4aba
8 changed files with 1593 additions and 12 deletions

View File

@@ -9,7 +9,6 @@ import {
export async function intercomApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, resource: string, method: string, body: any = {}, headers?: object): Promise<any> { // tslint:disable-line:no-any
const credentials = this.getCredentials('intercomApi');
if (credentials === undefined) {
throw new Error('No credentials got returned!');
}