From 1057c813e2dd9afb3bcd4fd3bcabeff450c10041 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 6 Jun 2024 12:22:37 +0100 Subject: [PATCH] fix(Gotify Node): Fix issue with self signed certificates not working (#9647) --- packages/nodes-base/nodes/Gotify/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts index 8aa00f4ace6c3..3b63797197279 100644 --- a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts @@ -30,7 +30,7 @@ export async function gotifyApiRequest( qs, uri: uri || `${credentials.url}${path}`, json: true, - rejectUnauthorized: credentials.ignoreSSLIssues as boolean, + rejectUnauthorized: !credentials.ignoreSSLIssues as boolean, }; try { if (Object.keys(body as IDataObject).length === 0) {