fix(Elasticsearch Node): Fix issue with self signed certificates not working (#10954)

This commit is contained in:
Jon 2024-09-26 17:15:05 +01:00 committed by GitHub
parent 4a63cff5ec
commit 79622b5f26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}