chore: format code
This commit is contained in:
parent
9f9d67b8aa
commit
bf92bb6fd3
@ -699,7 +699,10 @@ export class StripeWebhookService {
|
|||||||
// so the PaymentsByPaymentIntent index is never populated. Fall back to customer ID lookup.
|
// so the PaymentsByPaymentIntent index is never populated. Fall back to customer ID lookup.
|
||||||
const customerId = extractId(charge.customer);
|
const customerId = extractId(charge.customer);
|
||||||
if (!customerId) {
|
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');
|
throw new StripeError('No payment found for refund');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user