From 7e37c973cec84113680ab4ace9e840be64cf8045 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Tue, 7 Nov 2023 10:25:33 +0000 Subject: [PATCH] fix: missing functionId error on create execution --- app/controllers/api/functions.php | 2 ++ 1 file changed, 2 insertions(+) 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