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 page.tsx

Kiran Kd23610f9c202
diff --git a/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx b/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
index e04573de95..5f7a5ecc82 100644
--- a/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
@@ -101,7 +101,7 @@ async function VerifyInvite({ code }: { code: string }) {
userId: session.user.id,
projectId: workspace.id,
notificationPreference: {
- create: {},
+ create: {}, // by default, users are opted in to all notifications
},
},
});