feat(auth): check for admin role
CI / Verify (push) Successful in 4m36s
CI / Build immutable images and deploy (push) Successful in 7m37s

This commit is contained in:
2026-09-21 17:58:15 +07:00 Unverified
parent c5af3a63d4
commit 481123eec0
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -94,6 +94,7 @@ export async function getAdminSession(): Promise<AdminSession | null> {
id: "demo-admin",
email: "[email protected]",
emailVerified: true,
role: "admin",
name: "Demo Admin",
},
session: { id: "demo-session" },