fix: dup on update
This commit is contained in:
parent
c45db7332d
commit
333a8aedee
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ export class FlowTemplateController extends Controller {
|
|||
...body,
|
||||
statusOrder: +(body.status === "INACTIVE"),
|
||||
step: {
|
||||
deleteMany: {},
|
||||
create: body.step.map((v, i) => ({
|
||||
type: v.type,
|
||||
name: v.name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue