mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(Elasticsearch Node): Fix issue with self signed certificates not working (#10954)
This commit is contained in:
parent
4a63cff5ec
commit
79622b5f26
|
@ -80,7 +80,7 @@ export async function elasticsearchApiRequest(
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return await this.helpers.requestWithAuthentication.call(this, 'elasticsearchApi', options);
|
return await this.helpers.httpRequestWithAuthentication.call(this, 'elasticsearchApi', options);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new NodeApiError(this.getNode(), error as JsonObject);
|
throw new NodeApiError(this.getNode(), error as JsonObject);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue