Scheduling infrastructure for absolutely everyone.
feat: v1 booking "created at" field in response (#18038)
Syed Ali Shahbaz44115ac7fac3
diff --git a/apps/api/v1/lib/validations/booking.ts b/apps/api/v1/lib/validations/booking.tsindex f85cc195c1b..585efbdc67d 100644--- a/apps/api/v1/lib/validations/booking.ts+++ b/apps/api/v1/lib/validations/booking.ts@@ -23,6 +23,7 @@ const schemaBookingBaseBodyParams = Booking.pick({status: true,rescheduledBy: true,cancelledBy: true,+ createdAt: true,}).partial();export const schemaBookingCreateBodyParams = extendedBookingCreateBody.merge(schemaQueryUserId.partial());@@ -119,4 +120,5 @@ export const schemaBookingReadPublic = Booking.extend({fromReschedule: true,cancelledBy: true,rescheduledBy: true,+ createdAt: true,});