feat: Remove associated execution steps while deleting the step
This commit is contained in:
@@ -19,8 +19,7 @@ const deleteStep = async (
|
||||
})
|
||||
.throwIfNotFound();
|
||||
|
||||
if (!step) return;
|
||||
|
||||
await step.$relatedQuery('executionSteps').delete();
|
||||
await step.$query().delete();
|
||||
|
||||
const nextSteps = await step.flow
|
||||
|
Reference in New Issue
Block a user