Fix subjects for emails for Optin Bookings (#5148)

* Fix subject for manually confirmed booking

* Fix subject for request email to attendee

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Hariom Balharaandkodiakhq[bot] authored and GitHub committed 2022-10-25 07:32:05 +00:00
1 parent 68ae3c48a0
commit 00c3e9680c
2 files changed
+3 -2

No files matched your search

@@ -441,6 +441,7 @@ export const bookingsRouter = createProtectedRouter()
select: {
id: true,
recurringEvent: true,
title: true,
requiresConfirmation: true,
workflows: {
include: {
@@ -525,7 +526,7 @@ export const bookingsRouter = createProtectedRouter()
const attendeesList = await Promise.all(attendeesListPromises);
const evt: CalendarEvent = {
type: booking.title,
type: booking.eventType?.title || booking.title,
title: booking.title,
description: booking.description,
customInputs: isPrismaObjOrUndefined(booking.customInputs),