Skip to content

Commit 5c0cbc7

Browse files
committed
leftover square brackets
1 parent d936ba3 commit 5c0cbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ def scroll(self, body=None, scroll_id=None, params=None):
13131313
if scroll_id in SKIP_IN_PATH and body in SKIP_IN_PATH:
13141314
raise ValueError("You need to supply scroll_id or body.")
13151315
elif scroll_id and not body:
1316-
body = {"scroll_id": [scroll_id]}
1316+
body = {"scroll_id": scroll_id}
13171317
elif scroll_id:
13181318
params["scroll_id"] = scroll_id
13191319

0 commit comments

Comments
 (0)