From 2a5688f2a6893e46e2cc8bda152d383738024da3 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Fri, 24 Feb 2023 03:34:48 +0530 Subject: [PATCH] Adds the ability to confirm a booking using API (#243) Simply adds the ability to update the status of a booking (meant for confirming a booking) using the API Fixes: https://github.com/calcom/cal.com/issues/7121 --- lib/validations/booking.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/validations/booking.ts b/lib/validations/booking.ts index b6e3832140..c295cf97bd 100644 --- a/lib/validations/booking.ts +++ b/lib/validations/booking.ts @@ -22,6 +22,7 @@ const schemaBookingEditParams = z title: z.string().optional(), startTime: iso8601.optional(), endTime: iso8601.optional(), + status: z.string().optional(), }) .strict();