diff --git a/server/szurubooru/middleware/json_translator.py b/server/szurubooru/middleware/json_translator.py index f04e6c8..bed5172 100644 --- a/server/szurubooru/middleware/json_translator.py +++ b/server/szurubooru/middleware/json_translator.py @@ -41,4 +41,5 @@ class JsonTranslator(object): ''' Executed before passing the response to falcon. ''' if 'result' not in request.context: return - response.body = json.dumps(request.context.result, default=json_serial) + response.body = json.dumps( + request.context.result, default=json_serial, indent=2)