diff --git a/Client/httpInterface.js b/Client/httpInterface.js index c1d69da31..a89a053fb 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -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) }