move response out of exec callback
This commit is contained in:
1 parent
0595f1b06f
commit
81b23b3495
1 file changed
+4
-5
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user