injecting poolForQueue to schedulers

This commit is contained in:
shimon committed 2024-10-28 11:41:59 +02:00
1 parent 12458af84a
commit 509f06c2f0
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ abstract class ScheduleBase extends Action
$this
->desc("Execute {$type}s scheduled in Appwrite")
->inject('queuePool')
->inject('poolForQueue')
->inject('dbForConsole')
->inject('getProjectDB')
->callback(fn (Pool $poolForQueue, Database $dbForConsole, callable $getProjectDB) => $this->action($poolForQueue, $dbForConsole, $getProjectDB));