diff --git a/booking-app/components/src/server/db.ts b/booking-app/components/src/server/db.ts index 966c3374..1b09d610 100644 --- a/booking-app/components/src/server/db.ts +++ b/booking-app/components/src/server/db.ts @@ -73,6 +73,7 @@ export const decline = async (id: string, email: string, reason?: string) => { clientUpdateDataByCalendarEventId(TableNames.BOOKING_STATUS, id, { declinedAt: Timestamp.now(), declinedBy: email, + declineReason: reason || null, }); const doc = await clientGetDataByCalendarEventId(