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 payout.ts

Steven Tey0078e4e097b5
diff --git a/apps/web/lib/api/sales/payout.ts b/apps/web/lib/api/sales/payout.ts
index fd7cdc9379..3cc5d3d3ed 100644
--- a/apps/web/lib/api/sales/payout.ts
+++ b/apps/web/lib/api/sales/payout.ts
@@ -71,7 +71,7 @@ export const createPartnerPayouts = async ({
);
const amount = commissionEarnedTotal;
- const fee = amount * 0.02 + 100; // TODO: [payouts] tailor based on US / non-US
+ const fee = amount * 0.02; // TODO: [payouts] tailor based on US / non-US
// Create the payout
const payout = await tx.payout.create({