From a134662df0e7b0471c657e0cc1aba9736d2f9ab0 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 5 Jan 2021 17:56:20 +0100 Subject: [PATCH] Update httpInterface.js --- Client/httpInterface.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 4490059f4..434a03656 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -535,6 +535,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE const git = simpleGit(options) const commitMessage = unescape(requestParameters[3]) + let remotes = git.getRemotes(true) + console.log('remotes list: ', JSON.stringify(remotes)) + respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse) + return git .add('./*') .commit(commitMessage)