diff --git a/src/db/elasticsearch.ts b/src/db/elasticsearch.ts index 27040d102..5257ce017 100644 --- a/src/db/elasticsearch.ts +++ b/src/db/elasticsearch.ts @@ -12,7 +12,7 @@ client.ping({ // Undocumented params are appended to the query string hello: 'elasticsearch!' -}, error => { +} as any, error => { if (error) { console.error('elasticsearch is down!'); }