From 104c7ac210af96ea64f7f1c6f21f028d2e32e91d Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 22 Jun 2022 08:51:21 -0700 Subject: [PATCH] Island: Fix function call to load config in new configuration resource --- monkey/monkey_island/cc/resources/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/configuration.py b/monkey/monkey_island/cc/resources/configuration.py index 0a889a6da..6e4a00826 100644 --- a/monkey/monkey_island/cc/resources/configuration.py +++ b/monkey/monkey_island/cc/resources/configuration.py @@ -28,7 +28,7 @@ class AgentConfiguration(AbstractResource): configuration_json = json.loads(request_contents["config"]) try: - configuration_object = self._schema.loads(configuration_json) + configuration_object = self._schema.load(configuration_json) self._agent_configuration_repository.store_configuration(configuration_object) return make_response({}, 200) except marshmallow.exceptions.ValidationError: