diff --git a/src/modules/user/schemas/getUserOptions.schema.ts b/src/modules/user/schemas/getUserOptions.schema.ts index 490f29c..8707314 100644 --- a/src/modules/user/schemas/getUserOptions.schema.ts +++ b/src/modules/user/schemas/getUserOptions.schema.ts @@ -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(