diff --git a/app/controllers/general.php b/app/controllers/general.php index c89dd10917..bdd11115f8 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -318,6 +318,10 @@ function router(App $utopia, Database $dbForConsole, callable $getProjectDB, Swo /** @var Document $execution */ $execution = Authorization::skip(fn () => $dbForProject->createDocument('executions', $execution)); } + + $queueForUsage + ->setProject($project) + ->trigger(); } $execution->setAttribute('logs', '');