fix: expose missing createdAt and updatedAt fields from flow

This commit is contained in:
Rıdvan Akca
2024-04-12 16:46:21 +02:00
parent e5be8d3ba7
commit ab37250d5d
7 changed files with 13 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ const getExecutionMock = async (execution, flow, steps) => {
name: flow.name,
active: flow.active,
status: flow.active ? 'published' : 'draft',
createdAt: flow.createdAt.getTime(),
updatedAt: flow.updatedAt.getTime(),
steps: steps.map((step) => ({
id: step.id,
type: step.type,