fix: calendar route photobox.name -> photobox.model
Some checks failed
Preview Deploy / deploy (push) Failing after 3m17s
Some checks failed
Preview Deploy / deploy (push) Failing after 3m17s
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user