Hiding event type loses recurring config (#4911)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/4922/head^2
parent
bd48fd01b1
commit
d7db1ad303
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue