From d32e7cb7911f9ab4de087b2a9cd2a61a0efe6ef7 Mon Sep 17 00:00:00 2001 From: BadPixxel Date: Tue, 29 Sep 2020 16:56:34 +0200 Subject: [PATCH] FIX: Static tasks --- src/Services/TasksManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/TasksManager.php b/src/Services/TasksManager.php index b698c7f..4f06b12 100644 --- a/src/Services/TasksManager.php +++ b/src/Services/TasksManager.php @@ -398,7 +398,7 @@ public function loadStaticTasks(): self ->setToken($staticTask["token"]) ->setInputs($staticTask["inputs"]); - $this->onAddAction($job); + $this->onAddAction(new GenericEvent($job)); } }