From f1e00dd3ee3aead26b9560276533e03eb9d9adeb Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 12 Jul 2022 13:13:49 +0300 Subject: [PATCH] Island: Simplify propagation credentials get return --- monkey/monkey_island/cc/resources/propagation_credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/propagation_credentials.py b/monkey/monkey_island/cc/resources/propagation_credentials.py index 9fb59ad0e..87b3268a8 100644 --- a/monkey/monkey_island/cc/resources/propagation_credentials.py +++ b/monkey/monkey_island/cc/resources/propagation_credentials.py @@ -26,7 +26,7 @@ class PropagationCredentials(AbstractResource): else: return {}, HTTPStatus.NOT_FOUND - return make_response(Credentials.to_json_array(propagation_credentials), HTTPStatus.OK) + return propagation_credentials, HTTPStatus.OK def post(self, collection=None): credentials = [Credentials.from_json(c) for c in request.json]