move response out of exec callback

This commit is contained in:
Brenden Harrell committed 2021-10-01 09:38:21 -05:00
1 parent 0595f1b06f
commit 81b23b3495
1 file changed
+4 -5
+4 -5
View File
@@ -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) {