Scheduling infrastructure for absolutely everyone.
Add debugging details (#2582)
Hariom Balhara2c4a891a89c6
diff --git a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts b/apps/web/ee/pages/api/integrations/stripepayment/webhook.tsindex 579c3ed36e4..3bb8febe549 100644--- a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts+++ b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts@@ -32,7 +32,9 @@ async function handlePaymentSuccess(event: Stripe.Event) {bookingId: true,},});-+ if (!payment?.bookingId) {+ console.log(JSON.stringify(payment));+ }if (!payment?.bookingId) throw new Error("Payment not found");const booking = await prisma.booking.findUnique({diff --git a/apps/web/next-i18next.config.js b/apps/web/next-i18next.config.jsindex 13d4653908c..336d25a8965 100644--- a/apps/web/next-i18next.config.js+++ b/apps/web/next-i18next.config.js@@ -26,7 +26,6 @@ module.exports = {"sr","sv","vi",- "hu",],},localePath: path.resolve("./public/static/locales"),