Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update process-payouts.ts

Steven Tey0a9e472d6b16
diff --git a/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts b/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts
index c9a78c03ef..3cf1f906ed 100644
--- a/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts
+++ b/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts
@@ -159,10 +159,10 @@ export async function processPayouts({
);
const {
+ fee: invoiceFee,
feeFreeAmount,
feeChargedAmount,
feeWaiverRemaining,
- fee: invoiceFee,
} = calculatePayoutFeeWithWaiver({
payoutAmount: totalPayoutAmount,
payoutFee,