The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update send-stripe-payouts.ts
Steven Tey6e7980bc9051
diff --git a/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/send-stripe-payouts.ts b/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/send-stripe-payouts.tsindex a5e0775993..590aaade22 100644--- a/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/send-stripe-payouts.ts+++ b/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/send-stripe-payouts.ts@@ -134,6 +134,8 @@ export async function sendStripePayouts({ payload }: { payload: Payload }) {{amount: finalTransferableAmount,currency: "usd",+ // here, `transfer_group` technically only used to associate the transfer with the invoice+ // (even though the transfer could technically include payouts from multiple invoices)transfer_group: invoiceId,destination: partner.stripeConnectId!,description: `Dub Partners payout for ${payouts.map((p) => p.id).join(", ")}`,