diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 6b6dbebe1..f34afddc1 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -859,7 +859,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE docs.placeholder.errorDetails = { style: 'Json', - text: JSON.stringify(error) + text: JSON.stringify(error, undefined, 4) } let customResponse = { @@ -867,7 +867,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE docs: docs } - respondWithContent(JSON.stringify(customResponse, undefined, 4), httpResponse) + respondWithContent(JSON.stringify(customResponse), httpResponse) } }