mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-24 03:37:51 -04:00
Pre-conf work 2025
This commit is contained in:
@@ -477,11 +477,16 @@ export const usersRouter = createTRPCRouter({
|
||||
role.role === "wizard" ||
|
||||
role.role === "researcher" ||
|
||||
role.role === "administrator",
|
||||
)?.role || "wizard",
|
||||
)?.role ?? "wizard",
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return Array.from(wizardUsers.values());
|
||||
return Array.from(wizardUsers.values()) as Array<{
|
||||
id: string;
|
||||
name: string;
|
||||
email: string;
|
||||
role: "wizard" | "researcher" | "administrator";
|
||||
}>;
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user