Fixed annotation

This commit is contained in:
bskjon 2025-02-23 18:48:20 +01:00
parent 9244013949
commit 9df446b2b3

View File

@ -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)