feat(36-01): surface isAdmin in /api/auth/me response

This commit is contained in:
makiolaj committed 2026-04-19 20:47:12 +02:00
1 parent 34c7d27ee5
commit 18883fb9f0
1 file changed
+1
+1
View File
@@ -39,6 +39,7 @@ app.get("/me", async (c) => {
id: user.id,
email: auth.email,
createdAt: fullUser?.createdAt?.toISOString() ?? null,
isAdmin: fullUser?.isAdmin ?? false,
},
authenticated: true,
});