feat: create action by default on flow creation

This commit is contained in:
Ali BARIN
2022-08-07 18:16:51 +02:00
parent 1f8bc9cfbd
commit 04b3d93d5d

View File

@@ -25,6 +25,12 @@ const createFlow = async (
appKey,
});
await Step.query().insert({
flowId: flow.id,
type: 'action',
position: 2,
});
return flow;
};