This is my contribution to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2021-01-20 15:53:17 +01:00
1 parent 3ca384e94f
commit 5d932ec16d
1 file changed
+2 -6
+2 -6
View File
@@ -611,12 +611,8 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
placeholder: {}
}
try {
respondWithDocsObject(docs, result.error)
respondWithDocsObject(docs, result.error)
} catch (err) {
console.log('new errro ', err)
}
return
}
@@ -632,7 +628,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
}
console.log('respond with docs ')
try {
respondWithDocsObject(docs, result.error)
respondWithDocsObject(docs, error)
} catch (err) {
console.log('new errro ', err)