mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
Update GenericFunctions.ts
This commit is contained in:
parent
19f079d26e
commit
6ccc104926
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue