This is my contribution to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2021-01-15 13:39:11 +01:00
1 parent 4647ab2758
commit 75254b774b
1 file changed
+2
+2
View File
@@ -601,9 +601,11 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
async function contribute() {
if (await doGit() === false) {
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
return
}
if (await doGithub() === false) {
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
return
}
respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse)
}