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.

fix withSession

Kiran K84654b43ecf2
diff --git a/apps/web/lib/auth/session.ts b/apps/web/lib/auth/session.ts
index 9ae29b19a4..f301080b02 100644
--- a/apps/web/lib/auth/session.ts
+++ b/apps/web/lib/auth/session.ts
@@ -55,6 +55,7 @@ export const withSession =
id: true,
name: true,
email: true,
+ isMachine: true,
},
});
if (!user) {
@@ -97,6 +98,7 @@ export const withSession =
id: user.id,
name: user.name || "",
email: user.email || "",
+ isMachine: user.isMachine,
},
};
} else {