Scheduling infrastructure for absolutely everyone.
fix: make jsonSchema.optional()
Agusti Fernandez Pardob1dd1b85727d
diff --git a/lib/validations/user.ts b/lib/validations/user.tsindex 528bc2e2927..2385224f5ad 100644--- a/lib/validations/user.ts+++ b/lib/validations/user.ts@@ -93,7 +93,7 @@ const schemaUserEditParams = z.object({.optional().nullable(),locale: z.nativeEnum(locales).optional().nullable(),- metadata: jsonSchema,+ metadata: jsonSchema.optional(),});// @note: These are the values that are editable via PATCH method on the user Model,