Fixed type bugs in Reports form

This commit is contained in:
PxlLoewe
2025-07-27 15:02:14 -07:00
parent 7fc8749676
commit 25f56026fc
3 changed files with 14 additions and 20 deletions

View File

@@ -17,10 +17,7 @@ export const deleteEvent = async (id: Event["id"]) => {
};
export const upsertAppointment = async (
eventAppointment: Prisma.XOR<
Prisma.EventAppointmentCreateInput,
Prisma.EventAppointmentUncheckedCreateInput
>,
eventAppointment: Prisma.EventAppointmentUncheckedCreateInput,
) => {
const newEventAppointment = eventAppointment.id
? await prisma.eventAppointment.update({