Fixed annotation
This commit is contained in:
parent
9244013949
commit
9df446b2b3
@ -8,6 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired
|
||||
import org.springframework.http.HttpStatus
|
||||
import org.springframework.http.ResponseEntity
|
||||
import org.springframework.stereotype.Controller
|
||||
import org.springframework.web.bind.annotation.PostMapping
|
||||
import org.springframework.web.bind.annotation.RequestBody
|
||||
import org.springframework.web.bind.annotation.RequestMapping
|
||||
|
||||
@ -16,7 +17,7 @@ import org.springframework.web.bind.annotation.RequestMapping
|
||||
class ActionEventController(@Autowired var coordinator: Coordinator, @Autowired var eventsManager: EventsManager) {
|
||||
|
||||
|
||||
@RequestMapping("/flow/proceed")
|
||||
@PostMapping("/flow/proceed")
|
||||
fun permitRunOnSequence(@RequestBody data: RequestWorkProceed): ResponseEntity<String> {
|
||||
|
||||
val set = eventsManager.getEventsWith(data.referenceId)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user