diff --git a/app/controllers/general.php b/app/controllers/general.php index 92ddec58f5..86efd56219 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -316,6 +316,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', '');