Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

Commit 9dc4f77

Browse files
committed
Fix type error
1 parent 655274d commit 9dc4f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swiftype_app_search/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def build_options_from_search(search):
182182

183183
endpoint = "engines/{}/multi_search".format(engine_name)
184184
options = {
185-
'queries': map(build_options_from_search, searches)
185+
'queries': list(map(build_options_from_search, searches))
186186
}
187187
return self.swiftype_session.request('get', endpoint, json=options)
188188

0 commit comments

Comments
 (0)