feat: make actionSource required with ValidActionSource type across booking handlers (#27869)
* feat: make actionSource required with ValidActionSource type across booking handlers Co-Authored-By: [email protected] <[email protected]> * fix: update getAuditActionSource to return ValidActionSource, default to SYSTEM Co-Authored-By: [email protected] <[email protected]> * fix: revert getAuditActionSource, handleSeats, RegularBookingService back to ActionSource Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
11 files changed
+42
-22
No files matched your search
@@ -279,6 +279,7 @@ export class BookingsController_2024_04_15 {
|
||||
platformCancelUrl: bookingRequest.platformCancelUrl,
|
||||
platformRescheduleUrl: bookingRequest.platformRescheduleUrl,
|
||||
platformBookingUrl: bookingRequest.platformBookingUrl,
|
||||
actionSource: "API_V2",
|
||||
});
|
||||
if (!res.onlyRemovedAttendee && res.isPlatformManagedUserBooking) {
|
||||
void (await this.billingService.cancelUsageByBookingUid(res.bookingUid));
|
||||
|
||||
Reference in new issue
Block a user