Skip to content

Commit

Permalink
fix(cluster): use PATCH not PUT for updating a Bot
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Feb 15, 2025
1 parent 2759eeb commit ecd78d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/cluster/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit ecd78d2

Please sign in to comment.