feat: Extend execution serializer with status

This commit is contained in:
Faruk AYDIN
2024-03-06 14:46:10 +01:00
parent f4d8d909b0
commit 25e231cd7c
2 changed files with 18 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ const executionSerializer = (execution) => {
updatedAt: execution.updatedAt.getTime(),
};
if (execution.status) {
executionData.status = execution.status;
}
if (execution.flow) {
executionData.flow = flowSerializer(execution.flow);
}