From 81b23b3495df7e1f9c5e693ec146033252b7a7cd Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 1 Oct 2021 09:38:21 -0500 Subject: [PATCH] move response out of exec callback --- Platform/Client/httpInterface.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index af5ad6e5c..0fc944d55 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -916,13 +916,12 @@ exports.newHttpInterface = function newHttpInterface() { console.log( error ); return; } - console.log(''); - console.log( stdout ); - // Return to UI that Branch is suggessfully changed - SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) - + console.log( stdout ); }); + // Return to UI that Branch is suggessfully changed + SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) + } } catch (err) {