From f320e486a2d6b1ede8244fa0f7d3332c4e23f392 Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Wed, 13 Sep 2023 18:04:14 +0100 Subject: [PATCH] fix issue with duplicate children event types (#11337) Co-authored-by: CarinaWolli --- packages/trpc/server/routers/viewer/workflows/update.handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/trpc/server/routers/viewer/workflows/update.handler.ts b/packages/trpc/server/routers/viewer/workflows/update.handler.ts index 5cfd80a6b6..625d438ea6 100644 --- a/packages/trpc/server/routers/viewer/workflows/update.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/update.handler.ts @@ -92,6 +92,7 @@ export const updateHandler = async ({ ctx, input }: UpdateOptions) => { id: { in: activeOn, }, + parentId: null, }, select: { id: true,