diff --git a/booking-app/app/api/bookings/route.ts b/booking-app/app/api/bookings/route.ts index d7179e42..3b1fe324 100644 --- a/booking-app/app/api/bookings/route.ts +++ b/booking-app/app/api/bookings/route.ts @@ -10,7 +10,6 @@ import { serverUpdateDataByCalendarEventId, } from "@/components/src/server/admin"; import { deleteEvent, insertEvent } from "@/components/src/server/calendars"; -import { getBookingToolDeployUrl } from "@/components/src/server/ui"; import { ApproverType, BookingFormDetails, @@ -115,7 +114,6 @@ async function handleBookingApprovalEmails( email, startDate: bookingCalendarInfo?.startStr, endDate: bookingCalendarInfo?.endStr, - bookingToolUrl: getBookingToolDeployUrl(), headerMessage: "This is a request email for first approval.", requestNumber: sequentialId, }; diff --git a/booking-app/app/lib/sendHTMLEmail.ts b/booking-app/app/lib/sendHTMLEmail.ts index 991fbe9b..68fb838c 100644 --- a/booking-app/app/lib/sendHTMLEmail.ts +++ b/booking-app/app/lib/sendHTMLEmail.ts @@ -25,7 +25,7 @@ interface SendHTMLEmailParams { requestNumber: number; body: string; approverType?: ApproverType; - replyTo: string; + replyTo?: string; } export const sendHTMLEmail = async (params: SendHTMLEmailParams) => {