Fix a typo in usage example (#806)
This commit is contained in:
@ -66,7 +66,7 @@ When using the callback style API, the function will also return an object that
|
|||||||
[source,js]
|
[source,js]
|
||||||
----
|
----
|
||||||
// calback API
|
// calback API
|
||||||
const requesty = client.search({
|
const request = client.search({
|
||||||
index: 'my-index',
|
index: 'my-index',
|
||||||
body: { foo: 'bar' }
|
body: { foo: 'bar' }
|
||||||
}, {
|
}, {
|
||||||
@ -302,4 +302,4 @@ export interface ResurrectEvent {
|
|||||||
isAlive: boolean;
|
isAlive: boolean;
|
||||||
connection: Connection;
|
connection: Connection;
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user