chore: format code

This commit is contained in:
Hampus Kraft 2026-02-18 21:42:56 +00:00
parent 9f9d67b8aa
commit bf92bb6fd3
No known key found for this signature in database
GPG Key ID: 6090864C465A454D

View File

@ -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');
}