diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index cbe0d20aa..817e9e481 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -864,6 +864,8 @@ exports.newHttpInterface = function newHttpInterface() { await doGit() if (error === undefined) { + // Run node setup to prepare instance for branch change + await runNodeSetup() SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) } else { let docs = { @@ -896,6 +898,10 @@ exports.newHttpInterface = function newHttpInterface() { } } + async function runNodeSetup () { + console.log( "lets run node setup" ) + } + } catch (err) { console.log('[ERROR] httpInterface -> App -> Update -> Method call produced an error.') console.log('[ERROR] httpInterface -> App -> Update -> err.stack = ' + err.stack)