From 2c750acc7a2b0097d7aa44e53b3fee74178f1e03 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 12 Sep 2022 13:40:55 -0400 Subject: [PATCH] Island: Return 204 No Content from ClearSimulationData POST --- monkey/monkey_island/cc/resources/clear_simulation_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/clear_simulation_data.py b/monkey/monkey_island/cc/resources/clear_simulation_data.py index 342fadd5f..c5a37ec96 100644 --- a/monkey/monkey_island/cc/resources/clear_simulation_data.py +++ b/monkey/monkey_island/cc/resources/clear_simulation_data.py @@ -20,4 +20,4 @@ class ClearSimulationData(AbstractResource): """ self._repository_service.clear_simulation_data() - return make_response({}, HTTPStatus.OK) + return make_response({}, HTTPStatus.NO_CONTENT)