mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Messaging
This commit is contained in:
@@ -12,8 +12,6 @@ use Utopia\Queue\Message;
|
||||
|
||||
class Audits extends Action
|
||||
{
|
||||
protected static array $init;
|
||||
|
||||
public static function getName(): string
|
||||
{
|
||||
return 'audits';
|
||||
@@ -25,10 +23,12 @@ class Audits extends Action
|
||||
->desc('Audits worker')
|
||||
->inject('message')
|
||||
->inject('dbForProject')
|
||||
->callback(fn ($message, $dbForProject) => $this->action($message, $dbForProject));
|
||||
->inject('polls')
|
||||
->callback(fn ($message, $dbForProject, $pools) => $this->action($message, $dbForProject, $pools));
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function action(Message $message, $dbForProject): void
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user