The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update payout.ts
Steven Tey0078e4e097b5
diff --git a/apps/web/lib/api/sales/payout.ts b/apps/web/lib/api/sales/payout.tsindex 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 payoutconst payout = await tx.payout.create({