fix: custom_css setting

This commit is contained in:
trisua 2025-06-14 10:16:01 -04:00
parent d128b2c438
commit 2a99d49c8a
4 changed files with 26 additions and 3 deletions

View file

@ -66,7 +66,7 @@ pub async fn stripe_webhook(
}
EventType::InvoicePaymentSucceeded => {
// payment finished and subscription created
// we're doing this *instead* of CustomerSubscriptionDeleted because
// we're doing this *instead* of CustomerSubscriptionCreated because
// the invoice happens *after* the checkout session ends... which is what we need
let invoice = match req.data.object {
EventObject::Invoice(c) => c,