feat: create action by default on flow creation
This commit is contained in:
@@ -25,6 +25,12 @@ const createFlow = async (
|
|||||||
appKey,
|
appKey,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await Step.query().insert({
|
||||||
|
flowId: flow.id,
|
||||||
|
type: 'action',
|
||||||
|
position: 2,
|
||||||
|
});
|
||||||
|
|
||||||
return flow;
|
return flow;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user