The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Steven Teyd312546689f5
diff --git a/apps/web/app/api/user/route.ts b/apps/web/app/api/user/route.tsindex 8ca8e3fb9a..b965f45474 100644--- a/apps/web/app/api/user/route.ts+++ b/apps/web/app/api/user/route.ts@@ -11,7 +11,9 @@ export const GET = withSession(async ({ session }) => {session.user.id,);- await redis.hdel("migrated_links_users", session.user.id);+ if (migratedProject) {+ await redis.hdel("migrated_links_users", session.user.id);+ }return NextResponse.json({...session.user,