The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add waitUntil
Steven Teyc881e2a81b79
diff --git a/apps/web/lib/partners/create-stablecoin-payout.ts b/apps/web/lib/partners/create-stablecoin-payout.tsindex 120cd009c1..974403b7de 100644--- a/apps/web/lib/partners/create-stablecoin-payout.ts+++ b/apps/web/lib/partners/create-stablecoin-payout.ts@@ -260,11 +260,13 @@ export const createStablecoinPayout = async ({console.log(message);if (PARTNER_IDS_TO_LOG_PAYOUTS_FOR.includes(partner.id)) {- await log({- message,- type: "alerts",- mention: true,- });+ waitUntil(+ log({+ message,+ type: "alerts",+ mention: true,+ }),+ );}const payoutIds = allPayouts.map((p) => p.id);diff --git a/apps/web/lib/partners/create-stripe-transfer.ts b/apps/web/lib/partners/create-stripe-transfer.tsindex d58a12078e..3b3a6b73bf 100644--- a/apps/web/lib/partners/create-stripe-transfer.ts+++ b/apps/web/lib/partners/create-stripe-transfer.ts@@ -223,11 +223,13 @@ export const createStripeTransfer = async ({console.log(message);if (PARTNER_IDS_TO_LOG_PAYOUTS_FOR.includes(partner.id)) {- await log({- message,- type: "alerts",- mention: true,- });+ waitUntil(+ log({+ message,+ type: "alerts",+ mention: true,+ }),+ );}const payoutIds = allPayouts.map((p) => p.id);