fix: cancellation seems to be using slug instead of title (#14195)
Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
a7e05aa016
commit
a03ae81509
1 file changed
+1
-1
@@ -231,7 +231,7 @@ async function handler(req: CustomRequest) {
|
||||
|
||||
const evt: CalendarEvent = {
|
||||
title: bookingToDelete?.title,
|
||||
type: bookingToDelete?.eventType?.slug as string,
|
||||
type: bookingToDelete?.eventType?.title as string,
|
||||
description: bookingToDelete?.description || "",
|
||||
customInputs: isPrismaObjOrUndefined(bookingToDelete.customInputs),
|
||||
eventTypeId: bookingToDelete.eventTypeId as number,
|
||||
|
||||
Reference in new issue
Block a user