Set flask config 'JSON_SORT_KEYS' to false
This commit is contained in:
parent
c59be36909
commit
f6e362b1c8
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue