The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Keep Tremendous connect from enabling payouts after a ban
Rafi3375a4e23daf
diff --git a/apps/web/app/(ee)/api/embed/referrals/tremendous/verify-otp/route.ts b/apps/web/app/(ee)/api/embed/referrals/tremendous/verify-otp/route.tsindex fd9aadbae0..1816fd3d06 100644--- a/apps/web/app/(ee)/api/embed/referrals/tremendous/verify-otp/route.ts+++ b/apps/web/app/(ee)/api/embed/referrals/tremendous/verify-otp/route.ts@@ -159,6 +159,10 @@ export const POST = withReferralsEmbedToken(id: partner.id,defaultPayoutMethod: null,payoutsEnabledAt: null,+ // A ban saved after the check above must not enable payouts+ networkStatus: {+ not: "banned",+ },},data: {tremendousEmail: email,