diff --git a/docs/api_methods.asciidoc b/docs/api_methods.asciidoc index 32acea313..ff75c5375 100644 --- a/docs/api_methods.asciidoc +++ b/docs/api_methods.asciidoc @@ -874,7 +874,7 @@ client.index({ tags: ['y', 'z'], published: true, } -}, function (error response) { +}, function (error, response) { }); ---------