Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions packages/features/bookings/lib/handleCancelBooking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ async function handler(input: CancelBookingInput) {
throw new HttpError({ statusCode: 400, message: "User not found" });
}

if (bookingToDelete.eventType?.disableCancelling) {
throw new HttpError({
statusCode: 400,
message: "This event type does not allow cancellations",
});
}

if (!platformClientId && !cancellationReason?.trim() && bookingToDelete.userId == userId) {
throw new HttpError({
statusCode: 400,
Expand Down
Loading