🏷️ change include option when getting user data

This commit is contained in:
Rafi Arrafif
2025-07-28 11:22:08 +07:00
parent f2649c6d92
commit 88257d0eee

View File

@ -1,6 +1,7 @@
import z from "zod";
const includeOptions = ["preference", "roles"] as const;
// Define related tables that are retrieved together with user data
const includeOptions = ["preference", "assignedRoles"] as const;
export const getUserOptionsSchema = z.object({
verbosity: z.enum(