From c656d8571ae21f0ca6f9b6736435e37f7ea5e14e Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Wed, 12 Jul 2023 07:23:04 +0000 Subject: [PATCH] fix missing injection --- app/workers/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/workers/functions.php b/app/workers/functions.php index e38c6e67a4..043ff7243c 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -233,7 +233,8 @@ $server->job() ->inject('queueForFunctions') ->inject('queueForUsage') ->inject('execute') - ->action(function (Message $message, Database $dbForProject, Func $queueForFunctions, Usage $queueForUsage, callable $execute) { + ->inject('log') + ->action(function (Message $message, Database $dbForProject, Func $queueForFunctions, Usage $queueForUsage, callable $execute, Log $log) { $payload = $message->getPayload() ?? []; if (empty($payload)) {