From 79622b5f267f2a4a53f3eb48e228939d6e3a9caa Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 26 Sep 2024 17:15:05 +0100 Subject: [PATCH] fix(Elasticsearch Node): Fix issue with self signed certificates not working (#10954) --- .../nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts index 642ce1484f..333a412a02 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts @@ -80,7 +80,7 @@ export async function elasticsearchApiRequest( } try { - return await this.helpers.requestWithAuthentication.call(this, 'elasticsearchApi', options); + return await this.helpers.httpRequestWithAuthentication.call(this, 'elasticsearchApi', options); } catch (error) { throw new NodeApiError(this.getNode(), error as JsonObject); }