Update GenericFunctions.ts

This commit is contained in:
rons4 2021-01-22 10:10:53 +01:00
parent 19f079d26e
commit 6ccc104926

View file

@ -47,7 +47,7 @@ export async function SIGNL4ApiRequest(this: IExecuteFunctions, method: string,
options = Object.assign({}, options, option);
try {
return await this.helpers.request!(options);
return JSON.parse(await this.helpers.request!(options));
} catch (error) {
if (error.response && error.response.body && error.response.body.details) {