fix: set isSuperUser=false for Jordan Lee in full seed
Jordan Lee was being created with isSuperUser=true in the full seed path, causing GET /api/setup/status to return needsSetup=false after UAT reset.
This commit is contained in:
@@ -403,7 +403,7 @@ async function seed() {
|
|||||||
// ── Staff ──
|
// ── Staff ──
|
||||||
// Deterministic staff IDs so they can be referenced in scripts/tests
|
// Deterministic staff IDs so they can be referenced in scripts/tests
|
||||||
const managerStaff = [
|
const managerStaff = [
|
||||||
{ id: uuid(), name: "Jordan Lee", email: "jordan@groombook.dev", role: "manager" as const, isSuperUser: true },
|
{ id: uuid(), name: "Jordan Lee", email: "jordan@groombook.dev", role: "manager" as const, isSuperUser: false },
|
||||||
];
|
];
|
||||||
|
|
||||||
const receptionistStaff = [
|
const receptionistStaff = [
|
||||||
|
|||||||
Reference in New Issue
Block a user