A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
chore: format code
Hampus Kraftbf92bb6fd302
diff --git a/packages/api/src/stripe/services/StripeWebhookService.tsx b/packages/api/src/stripe/services/StripeWebhookService.tsxindex d477d61ca..ac95bc384 100644--- a/packages/api/src/stripe/services/StripeWebhookService.tsx+++ b/packages/api/src/stripe/services/StripeWebhookService.tsx@@ -699,7 +699,10 @@ export class StripeWebhookService {// so the PaymentsByPaymentIntent index is never populated. Fall back to customer ID lookup.const customerId = extractId(charge.customer);if (!customerId) {- Logger.error({paymentIntentId, chargeId: charge.id}, 'No payment found for refund and charge has no customer ID');+ Logger.error(+ {paymentIntentId, chargeId: charge.id},+ 'No payment found for refund and charge has no customer ID',+ );throw new StripeError('No payment found for refund');}