From 29646ecf43f9e0f5a279adaa32ba107ac5630182 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 2 Aug 2022 12:27:22 +0530 Subject: [PATCH] Island: Return string from IslandLog's GET instead of dict with redundant info --- monkey/monkey_island/cc/resources/island_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/island_logs.py b/monkey/monkey_island/cc/resources/island_logs.py index c44b80460..e9eb7ea63 100644 --- a/monkey/monkey_island/cc/resources/island_logs.py +++ b/monkey/monkey_island/cc/resources/island_logs.py @@ -17,6 +17,6 @@ class IslandLog(AbstractResource): @jwt_required def get(self): try: - return {"log_file": get_log_file_contents(self._island_log_file_path)} + return get_log_file_contents(self._island_log_file_path) except Exception: logger.error("Monkey Island logs failed to download", exc_info=True)