diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 96827beb3c..268acc0692 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -1658,6 +1658,8 @@ App::post('/v1/functions/:functionId/executions') ->setJWT($jwt) ->setProject($project) ->setUser($user) + ->setParam('functionId', $function->getId()) + ->setParam('executionId', $execution->getId()) ->trigger(); return $response