From 2e903e0c925fc751ae2b601f64583106d685d3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Ba=C5=A1i=C4=87?= Date: Thu, 11 May 2023 19:13:08 +0200 Subject: [PATCH] Update scroll.asciidoc (#1763) --- docs/examples/scroll.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/scroll.asciidoc b/docs/examples/scroll.asciidoc index 5cc76d8a6..0f23a1bc1 100644 --- a/docs/examples/scroll.asciidoc +++ b/docs/examples/scroll.asciidoc @@ -103,7 +103,7 @@ async function run () { // get the next response if there are more quotes to fetch responseQueue.push( await client.scroll({ - scrollId: body._scroll_id, + scroll_id: body._scroll_id, scroll: '30s' }) ) @@ -146,7 +146,7 @@ async function * scrollSearch (params) { } response = await client.scroll({ - scrollId: response._scroll_id, + scroll_id: response._scroll_id, scroll: params.scroll }) }