Skip to content

Commit

Permalink
[fr33m0nk]: Fixes issue with typesense.client/multi-search (#35)
Browse files Browse the repository at this point in the history
* Passing of `opt-query-params` as rest params would cause issue while building payload
  • Loading branch information
fr33m0nk authored Aug 24, 2022
1 parent 4b53a32 commit 2c25dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typesense/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

(defn multi-search
"Search for documents in multiple collections."
[settings search-reqs common-search-params & opt-query-params]
[settings search-reqs common-search-params & {:as opt-query-params}]
(try-typesense-api
(let [{:keys [uri req]} (api/multi-search-req settings search-reqs common-search-params opt-query-params)]
(util/http-response-json->map (http/post uri req)))))
Expand Down

0 comments on commit 2c25dda

Please sign in to comment.