From a40d91666b69c08deb61c9c1e8cda469aca58f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 17 Mar 2023 14:02:29 +0100 Subject: [PATCH] fix: Use proper parameter to trigger the request in search_galaxy_clusters --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index 1043d16..0a8d92e 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1491,7 +1491,7 @@ class PyMISP: kw_params = {"context": context} if searchall: kw_params["searchall"] = searchall - r = self._prepare_request('POST', f"galaxy_clusters/index/{galaxy_id}", kw_params=kw_params) + r = self._prepare_request('POST', f"galaxy_clusters/index/{galaxy_id}", data=kw_params) clusters_j = self._check_json_response(r) if not (self.global_pythonify or pythonify) or 'errors' in clusters_j: return clusters_j