diff --git a/monkey/monkey_island/cc/resources/agent_configuration.py b/monkey/monkey_island/cc/resources/agent_configuration.py index 47be16abc..36d6ce8e0 100644 --- a/monkey/monkey_island/cc/resources/agent_configuration.py +++ b/monkey/monkey_island/cc/resources/agent_configuration.py @@ -26,6 +26,7 @@ class AgentConfiguration(AbstractResource): try: configuration_object = AgentConfigurationObject.from_mapping(request.json) self._agent_configuration_repository.store_configuration(configuration_object) + # API Spec: Should return 204 (NO CONTENT) return make_response({}, 200) except (InvalidConfigurationError, json.JSONDecodeError) as err: return make_response(