From 7c2fa124147a1e53caae3699fe3fac23ca66680e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 17 Aug 2022 13:42:06 +0000 Subject: [PATCH] Fix getting function ID --- 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 b50893724f..dbd8924468 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -88,7 +88,7 @@ class FunctionsV1 extends Worker Console::success('Triggered function: ' . $events[0]); } catch (\Throwable $th) { - Console::error("Failed to execute " . $function->getAttribute('id') . " with error: " . $th->getMessage()); + Console::error("Failed to execute " . $function->getId() . " with error: " . $th->getMessage()); } } }