summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-10 18:00:52 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-10 18:00:52 +0000
commit596983ae286c88031010a43f7bbca3984d1a40a7 (patch)
tree36ca778d33dd66ebac091a2091ff9f0a77acbc37 /src/main
parentf8ec96375aa7ffba79dff913119ff8ab470edd0e (diff)
Change http method to POST
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