Skip to content

Commit

Permalink
Fix replyTo paramater
Browse files Browse the repository at this point in the history
  • Loading branch information
rlho committed Nov 21, 2024
1 parent 8b72831 commit 8d15b80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions booking-app/app/api/bookings/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion booking-app/app/lib/sendHTMLEmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface SendHTMLEmailParams {
requestNumber: number;
body: string;
approverType?: ApproverType;
replyTo: string;
replyTo?: string;
}

export const sendHTMLEmail = async (params: SendHTMLEmailParams) => {
Expand Down

0 comments on commit 8d15b80

Please sign in to comment.