From 98464351a973ed5f04ed0a7011e7d6e7284ea640 Mon Sep 17 00:00:00 2001 From: Jai A Date: Sat, 12 Oct 2024 16:53:29 -0700 Subject: [PATCH] fix comp --- src/routes/internal/billing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/internal/billing.rs b/src/routes/internal/billing.rs index d224746d..9abd8962 100644 --- a/src/routes/internal/billing.rs +++ b/src/routes/internal/billing.rs @@ -1242,7 +1242,7 @@ pub async fn stripe_webhook( if let EventObject::PaymentIntent(payment_intent) = event.data.object { let mut transaction = pool.begin().await?; - let metadata = get_payment_intent_metadata( + let mut metadata = get_payment_intent_metadata( payment_intent.metadata, &pool, &redis,