From 01a143965ead45edca06e0991dd3860d2587a07d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 13 Jan 2021 13:24:24 +0100 Subject: [PATCH] Update httpInterface.js --- Client/httpInterface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 456a73fd8..33b7feeef 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -661,7 +661,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) } else { console.log(false) - respondWithContent(JSON.stringify(global.FAIL_OK_RESPONSE), httpResponse) + respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse) } } @@ -676,7 +676,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE try { await git.checkoutBranch(currentBranch) } catch (err) { - console.log('[ERROR] Error changing current branch to ' + currentBranch + err.stack) + console.log('[ERROR] Error changing current branch to ' + currentBranch) console.log(err.stack) return false }