From 28c0f2eeae25ed31628477751617c29282b548da Mon Sep 17 00:00:00 2001 From: Joel Ericsson Date: Thu, 11 Apr 2019 08:27:57 +0200 Subject: [PATCH] Fix a typo in usage example (#806) --- docs/usage.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.asciidoc b/docs/usage.asciidoc index 8065c120b..ed81ef2fc 100644 --- a/docs/usage.asciidoc +++ b/docs/usage.asciidoc @@ -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; } ----- \ No newline at end of file +----