Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(api): stop exporting the pix refund shortfall constant (#1993)

Hampus0b6edf569086
diff --git a/fluxer_api/src/api/stripe/services/StripeRefundService.ts b/fluxer_api/src/api/stripe/services/StripeRefundService.ts
index 7c6325177..794d5bb6e 100644
--- a/fluxer_api/src/api/stripe/services/StripeRefundService.ts
+++ b/fluxer_api/src/api/stripe/services/StripeRefundService.ts
@@ -25,7 +25,7 @@ import type {StripeSubscriptionService} from './StripeSubscriptionService';
const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
export const SELF_SERVE_REFUND_WINDOW_DAYS = 3;
export const SELF_SERVE_REFUND_COOLDOWN_DAYS = 30;
-export const PIX_EXACT_AMOUNT_REFUND_SHORTFALL_CENTS = 1;
+const PIX_EXACT_AMOUNT_REFUND_SHORTFALL_CENTS = 1;
interface RefundTarget {
invoice: Stripe.Invoice;