Fix a typo in usage example (#806)

This commit is contained in:
Joel Ericsson
2019-04-11 08:27:57 +02:00
committed by Tomas Della Vedova
parent 777e438482
commit 68f8b7bb5f

View File

@ -66,7 +66,7 @@ When using the callback style API, the function will also return an object that
[source,js]
----
// calback API
const requesty = client.search({
const request = client.search({
index: 'my-index',
body: { foo: 'bar' }
}, {
@ -302,4 +302,4 @@ export interface ResurrectEvent {
isAlive: boolean;
connection: Connection;
}
----
----