Skip to content

Commit

Permalink
Hiding event type loses recurring config (#4911)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
leog and kodiakhq[bot] authored Oct 9, 2022
1 parent bd48fd0 commit d7db1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trpc/server/routers/viewer/eventTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const eventTypesRouter = createProtectedRouter()
until: recurringEvent.until as unknown as Prisma.InputJsonObject,
tzid: recurringEvent.tzid,
};
} else {
} else if (recurringEvent === null) {
data.recurringEvent = Prisma.DbNull;
}

Expand Down

0 comments on commit d7db1ad

Please sign in to comment.