From f6e362b1c831a1550d2565983aa07200c5eba525 Mon Sep 17 00:00:00 2001 From: Shreya Date: Fri, 31 Jul 2020 22:11:39 +0530 Subject: [PATCH] Set flask config 'JSON_SORT_KEYS' to false --- monkey/monkey_island/cc/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index 6647d4b10..2047adf11 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -143,6 +143,7 @@ def init_api_resources(api): def init_app(mongo_url): app = Flask(__name__) + app.config['JSON_SORT_KEYS'] = False api = flask_restful.Api(app) api.representations = {'application/json': output_json}