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

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