Fix executions not being tracked in metrics

This commit is contained in:
Bradley Schofield
2024-08-02 15:24:25 +09:00
parent 5ddc705099
commit 0d2b1a31dd
+4
View File
@@ -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', '');