The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
revert welcome-user change
Steven Tey3a2bcc5f7a3c
diff --git a/apps/web/app/(ee)/api/cron/user-welcome-flow/route.ts b/apps/web/app/(ee)/api/cron/welcome-user/route.tssimilarity index 100%rename from apps/web/app/(ee)/api/cron/user-welcome-flow/route.tsrename to apps/web/app/(ee)/api/cron/welcome-user/route.tsdiff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.tsindex c6c789281e..815ddd3dbd 100644--- a/apps/web/lib/auth/options.ts+++ b/apps/web/lib/auth/options.ts@@ -532,7 +532,7 @@ export const authOptions: NextAuthOptions = {trackLead(user),// trigger welcome workflow 15 minutes after the user signed upqstash.publishJSON({- url: `${APP_DOMAIN_WITH_NGROK}/api/cron/user-welcome-flow`,+ url: `${APP_DOMAIN_WITH_NGROK}/api/cron/welcome-user`,delay: 15 * 60,body: { userId: user.id },}),