Skip to content

Commit 7f45fff

Browse files
JoshMockmabasic
andauthored
[Backport 8.7] Update scroll.asciidoc (#1763) (#1888)
Co-authored-by: Mario Bašić <[email protected]>
1 parent 36e4d8a commit 7f45fff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/scroll.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async function run () {
103103
// get the next response if there are more quotes to fetch
104104
responseQueue.push(
105105
await client.scroll({
106-
scrollId: body._scroll_id,
106+
scroll_id: body._scroll_id,
107107
scroll: '30s'
108108
})
109109
)
@@ -146,7 +146,7 @@ async function * scrollSearch (params) {
146146
}
147147
148148
response = await client.scroll({
149-
scrollId: response._scroll_id,
149+
scroll_id: response._scroll_id,
150150
scroll: params.scroll
151151
})
152152
}

0 commit comments

Comments
 (0)