fix: fetch workflows on the backend (#15796)

* fix: fetch workflows on the router

* chore: remove workflows

* chore: import zod

* chore: move to repository
This commit is contained in:
Udit Takkar authored and GitHub committed 2024-07-17 07:02:22 +00:00
1 parent b7bfd77f95
commit e960b8ad10
6 files changed
+258 -219

No files matched your search

@@ -859,7 +859,7 @@ const EventTypePageWrapper: React.FC<PageProps> & {
const { data: workflows } = trpc.viewer.workflows.getAllActiveWorkflows.useQuery({
eventType: {
workflows: eventType.workflows,
id: props.type,
teamId: eventType.teamId,
userId: eventType.userId,
parent: eventType.parent,