This is my contribution to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2021-01-20 16:05:29 +01:00
1 parent d910a83a30
commit ab595e6e31
1 file changed
+2 -2
+2 -2
View File
@@ -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)
}
}