From ecd78d2584e12cf98fa269526cb1634140ef7a22 Mon Sep 17 00:00:00 2001 From: fubuloubu <3859395+fubuloubu@users.noreply.github.com> Date: Sat, 15 Feb 2025 02:39:31 -0500 Subject: [PATCH] fix(cluster): use PATCH not PUT for updating a Bot --- silverback/cluster/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silverback/cluster/client.py b/silverback/cluster/client.py index a250dfa0..96e4e79e 100644 --- a/silverback/cluster/client.py +++ b/silverback/cluster/client.py @@ -143,7 +143,7 @@ def update( environment=environment, ) - response = self.cluster.put(f"/bots/{self.id}", json=form) + response = self.cluster.patch(f"/bots/{self.id}", json=form) handle_error_with_response(response) return Bot.model_validate(response.json())