Skip to content

Commit

Permalink
Fix a typo in usage example (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
theswedishdev authored and delvedor committed Apr 11, 2019
1 parent a21281f commit 28c0f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.asciidoc
Expand Up @@ -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' }
}, {
Expand Down Expand Up @@ -302,4 +302,4 @@ export interface ResurrectEvent {
isAlive: boolean;
connection: Connection;
}
----
----

0 comments on commit 28c0f2e

Please sign in to comment.