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:
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),
|
||||
|
||||
Reference in new issue
Block a user