fix: make jsonSchema.optional()
parent
01f5891f9d
commit
b1dd1b8572
|
@ -93,7 +93,7 @@ const schemaUserEditParams = z.object({
|
||||||
.optional()
|
.optional()
|
||||||
.nullable(),
|
.nullable(),
|
||||||
locale: z.nativeEnum(locales).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,
|
// @note: These are the values that are editable via PATCH method on the user Model,
|
||||||
|
|
Loading…
Reference in New Issue