Skip to content

Commit 68f8b7b

Browse files
theswedishdevdelvedor
authored andcommitted
Fix a typo in usage example (#806)
1 parent 777e438 commit 68f8b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ When using the callback style API, the function will also return an object that
6666
[source,js]
6767
----
6868
// calback API
69-
const requesty = client.search({
69+
const request = client.search({
7070
index: 'my-index',
7171
body: { foo: 'bar' }
7272
}, {
@@ -302,4 +302,4 @@ export interface ResurrectEvent {
302302
isAlive: boolean;
303303
connection: Connection;
304304
}
305-
----
305+
----

0 commit comments

Comments
 (0)