Fix: Sets null to undefined during workflow select (#9513)

This commit is contained in:
Alex van Andel authored and GitHub committed 2023-06-14 14:43:42 +00:00
1 parent f17fa55426
commit 8943e8c2f6
1 file changed
+1 -1
@@ -65,7 +65,7 @@ export const activateEventTypeHandler = async ({ ctx, input }: ActivateEventType
userId: ctx.user.id,
},
{
teamId: userEventType.teamId,
teamId: userEventType.teamId || undefined,
},
],
},