Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update options.ts

Kiran Kb7f15fa4d033
diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.ts
index 815ddd3dbd..c6c789281e 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 up
qstash.publishJSON({
- url: `${APP_DOMAIN_WITH_NGROK}/api/cron/welcome-user`,
+ url: `${APP_DOMAIN_WITH_NGROK}/api/cron/user-welcome-flow`,
delay: 15 * 60,
body: { userId: user.id },
}),