fix: calendar route photobox.name -> photobox.model
Some checks failed
Preview Deploy / deploy (push) Failing after 3m17s

This commit is contained in:
Julia Wehden
2026-03-24 13:59:22 +01:00
parent 6ec5d088a4
commit 1326156e8d

View File

@@ -45,7 +45,7 @@ export async function GET(req: NextRequest) {
customerName: booking.customerName, customerName: booking.customerName,
customerEmail: booking.customerEmail, customerEmail: booking.customerEmail,
locationName: booking.location.name, locationName: booking.location.name,
photoboxName: booking.photobox?.name || 'Keine Box', photoboxName: booking.photobox?.model || 'Keine Box',
tourId: booking.tourId, tourId: booking.tourId,
eventType: booking.eventType, eventType: booking.eventType,
}, },