From ea2b8ea5f9d7381304087325d2b4a36cf3ef43e8 Mon Sep 17 00:00:00 2001 From: vx3r Date: Wed, 6 May 2026 11:34:04 +0200 Subject: [PATCH] Fix data reference in galaxy cluster fork request --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index f2f85ad4f..09e455cc1 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1933,7 +1933,7 @@ def fork_galaxy_cluster(self, galaxy: MISPGalaxy | int | str | UUID, galaxy_clus # Set the UUID and version it extends from the existing galaxy cluster forked_galaxy_cluster.extends_uuid = forked_galaxy_cluster.pop('uuid') forked_galaxy_cluster.extends_version = forked_galaxy_cluster.pop('version') - r = self._prepare_request('POST', f'galaxy_clusters/add/{galaxy_id}/forkUUID:{cluster_id}', data=galaxy_cluster) + r = self._prepare_request('POST', f'galaxy_clusters/add/{galaxy_id}/forkUUID:{cluster_id}', data=forked_galaxy_cluster) cluster_j = self._check_json_response(r) if not (self.global_pythonify or pythonify) or 'errors' in cluster_j: return cluster_j