diff --git a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts index ff2556e6f5..e53a6d8cd1 100644 --- a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts @@ -30,7 +30,7 @@ export async function theHiveApiRequest(this: IHookFunctions | IExecuteFunctions qs: query, uri: uri || `${credentials.url}/api${resource}`, body, - rejectUnauthorized: credentials.allowUnauthorizedCerts as boolean, + rejectUnauthorized: !credentials.allowUnauthorizedCerts as boolean, json: true, };