BB: Use put_json() to import config

This commit is contained in:
Mike Salvatore 2022-08-05 09:21:28 -04:00
parent 4cb6bdd9cf
commit ea369a5a74
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class MonkeyIslandClient(object):
@avoid_race_condition
def _import_config(self, test_configuration: TestConfiguration):
response = self.requests.post_json(
response = self.requests.put_json(
"api/agent-configuration",
json=AgentConfiguration.to_mapping(test_configuration.agent_configuration),
)