Update httpInterface.js

This commit is contained in:
Luis Fernando Molina committed 2021-01-05 17:56:20 +01:00
1 parent 45bf1de5eb
commit a134662df0
1 file changed
+4
+4
View File
@@ -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)