From 46593778c9edb7b7d9e0bd0921a959b4d7e64157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 9 Dec 2022 19:51:21 +0100 Subject: [PATCH] Fix event-triggered executions syntax error --- app/workers/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/functions.php b/app/workers/functions.php index 2333cb315e..31e64a2bb4 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -276,7 +276,7 @@ $server->job() queueForFunctions: $queueForFunctions, trigger: 'event', event: $events[0], - eventData: $eventData, + eventData: \is_string($eventData) ? $eventData : \json_encode($eventData), user: $user, data: null, executionId: null,