Fix workflow run executed by empty (#11642)
Workflow run executed by should not be empty when the workflow is unamed. Adding Workflow as fallback <img width="1072" alt="Capture d’écran 2025-04-17 à 19 17 12" src="https://github.com/user-attachments/assets/e4cc3360-06e5-47e8-ba05-28a0eafab994" />
This commit is contained in:
+11
-6
@@ -21,12 +21,17 @@ export class WorkflowRunnerWorkspaceService {
|
||||
private readonly billingUsageService: BillingUsageService,
|
||||
) {}
|
||||
|
||||
async run(
|
||||
workspaceId: string,
|
||||
workflowVersionId: string,
|
||||
payload: object,
|
||||
source: ActorMetadata,
|
||||
) {
|
||||
async run({
|
||||
workspaceId,
|
||||
workflowVersionId,
|
||||
payload,
|
||||
source,
|
||||
}: {
|
||||
workspaceId: string;
|
||||
workflowVersionId: string;
|
||||
payload: object;
|
||||
source: ActorMetadata;
|
||||
}) {
|
||||
const canFeatureBeUsed =
|
||||
await this.billingUsageService.canFeatureBeUsed(workspaceId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user