Skip to content

Commit

Permalink
Fixed status code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogidon committed Jan 24, 2015
1 parent b2c9687 commit 0e1c01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/gitPull.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.addRoutes = function(app) {
console.log("Pulling...")
run_cmd("git pull origin master");
console.log("Pulled!");
res.send("Pulled!", 400);
res.send("Pulled!", 200);
});

app.get('/git_pull', function(req, res){
Expand Down

0 comments on commit 0e1c01b

Please sign in to comment.