🏷️ change include option when getting user data
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
import z from "zod";
|
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({
|
export const getUserOptionsSchema = z.object({
|
||||||
verbosity: z.enum(
|
verbosity: z.enum(
|
||||||
|
|||||||
Reference in New Issue
Block a user