From bb903b8eb433dc5b8f05afca7a8f200fe95b6997 Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 1 Oct 2021 09:26:53 -0500 Subject: [PATCH] one more go --- Platform/Client/httpInterface.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 0411074a2..5247da389 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -865,7 +865,7 @@ exports.newHttpInterface = function newHttpInterface() { if (error === undefined) { // Run node setup to prepare instance for branch change - runNodeSetup().then( SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) ) + runNodeSetup() } else { let docs = { project: 'Foundations', @@ -915,10 +915,13 @@ exports.newHttpInterface = function newHttpInterface() { console.log(''); console.log( error ); return; - } - + } + console.log(''); - console.log( stdout ); + console.log( stdout ); + // Return to UI that Branch is suggessfully changed + SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) + }); }