Commit 1cd57714 authored by neo's avatar neo

[bugfix] fix controller url

parent 5c3fbbda
......@@ -20,7 +20,7 @@ import java.util.List;
import java.util.Map;
@RestController
@RequestMapping(value = "leave")
@RequestMapping(value = "/leave")
public class LeaveController {
private static Logger logger = LoggerFactory.getLogger(LeaveController.class);
@Autowired
......@@ -32,7 +32,7 @@ public class LeaveController {
@ResponseBody
@RequestMapping(value = "/deploy", method = RequestMethod.POST)
public ResponseEntity deploy(@RequestBody Leave user) {
public ResponseEntity deploy(){
repositoryService.createDeployment().addClasspathResource("bpmn/leave.bpmn").deploy();
return ResponseEntity.ok().build();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment