fix: small issues

This commit is contained in:
2026-03-11 11:29:11 +01:00
parent 0a849bd9c5
commit 8a6d3035cb
2 changed files with 4 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ async function handleWebhook({ request }: { request: Request }) {
sendPaymentConfirmationEmail({
to: regRow.email,
firstName: regRow.firstName,
managementToken: regRow.managementToken!,
managementToken: regRow.managementToken ?? registrationToken,
drinkCardValue: regRow.drinkCardValue ?? undefined,
giftAmount: regRow.giftAmount ?? undefined,
}).catch((err) =>