diff --git a/packages/shared/lib/services/flow.service.ts b/packages/shared/lib/services/flow.service.ts index c923e33a64..93189d4a88 100644 --- a/packages/shared/lib/services/flow.service.ts +++ b/packages/shared/lib/services/flow.service.ts @@ -84,7 +84,8 @@ class FlowService { models: item.usedModels.map((name) => parsed.models.get(name)!) as any, last_deployed: null, webhookSubscriptions: [], - json_schema: null + json_schema: null, + metadata: { description: item.description, scopes: item.scopes } }); } else { std.syncs.push({ @@ -107,7 +108,8 @@ class FlowService { models: item.usedModels.map((name) => parsed.models.get(name)!) as any, last_deployed: null, webhookSubscriptions: [], - json_schema: null + json_schema: null, + metadata: { description: item.description, scopes: item.scopes } }); } }