mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
chore: format code
This commit is contained in:
1 file changed
+4
-1
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user