summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java
index 1fd9bc6..f5d240e 100644
--- a/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java
+++ b/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java
@@ -17,7 +17,7 @@ import java.io.IOException;
@Controller
public class GitRelayController {
- @RequestMapping(value = "/gitlab", method = RequestMethod.PUT)
+ @RequestMapping(value = "/gitlab", method = RequestMethod.POST)
String relay(@RequestBody Push pushMsg, Model model){
try {
//DANGER