fix: pass cancellation reason for seated event cancellations in API v2 (#24409)
* fix: pass cancellation reason for seated event cancellations in API v2 - Add cancellationReason field to CancelSeatedBookingInput_2024_08_13 type - Update transformInputCancelSeatedBooking to use provided cancellationReason - Fix pre-existing ESLint warnings (no-prototype-builtins) in isRescheduleSeatedBody and isCancelSeatedBody - Fixes issue where API v2 throws 'cancellation reason required' error even when reason is provided - Resolves validation error for hosts canceling seated events via API v2 Co-Authored-By: [email protected] <[email protected]> * Update input.service.ts --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -24,4 +24,9 @@ export class CancelSeatedBookingInput_2024_08_13 {
|
||||
})
|
||||
@IsString()
|
||||
seatUid!: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@ApiPropertyOptional({ example: "User requested cancellation" })
|
||||
cancellationReason?: string;
|
||||
}
|
||||
Reference in new issue
Block a user