File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
use CleverAge \UiProcessBundle \Message \ProcessExecuteMessage ;
18
18
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
19
19
use Symfony \Component \HttpFoundation \JsonResponse ;
20
- use Symfony \Component \HttpKernel \Attribute \ValueResolver ;
20
+ use Symfony \Component \HttpKernel \Attribute \MapRequestPayload ;
21
21
use Symfony \Component \HttpKernel \Exception \UnprocessableEntityHttpException ;
22
22
use Symfony \Component \Messenger \MessageBusInterface ;
23
23
use Symfony \Component \Routing \Attribute \Route ;
27
27
class ProcessExecuteController extends AbstractController
28
28
{
29
29
public function __invoke (
30
- #[ValueResolver( ' http_process_execution ' ) ] HttpProcessExecution $ httpProcessExecution ,
30
+ #[MapRequestPayload ] HttpProcessExecution $ httpProcessExecution ,
31
31
ValidatorInterface $ validator ,
32
32
MessageBusInterface $ bus ,
33
33
): JsonResponse {
You can’t perform that action at this time.
0 commit comments