diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 637a53cc2c..7caf4f8cc5 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -2108,7 +2108,8 @@ App::delete('/v1/functions/:functionId/executions/:executionId') $queueForEvents ->setParam('functionId', $function->getId()) - ->setParam('executionId', $execution->getId()); + ->setParam('executionId', $execution->getId()) + ->setPayload($response->output($execution, Response::MODEL_EXECUTION)); $response->noContent(); });