Fix project pull with authentication

This commit is contained in:
Nick O'Leary
2017-11-23 20:52:15 +00:00
parent 5c88888e02
commit e5ff25b92d
3 changed files with 11 additions and 4 deletions

View File

@@ -297,7 +297,7 @@ module.exports = {
});
// Pull remote commits
app.get("/:id/pull/?*", function(req,res) {
app.post("/:id/pull/?*", function(req,res) {
var projectName = req.params.id;
var remoteBranchName = req.params[0];
var setRemote = req.query.u;