fix(updateInstanceSchema): remove zod strict()

This commit is contained in:
P. Reis 2024-11-15 11:49:38 -03:00
parent ee4373bdab
commit 8fccd7eb03

View file

@ -300,7 +300,7 @@ const updateInstanceSchema = z.object({
thumbnail: z.object({
url: z.string().url(),
}),
}).strict();
});
export const updateInstanceController: AppController = async (c) => {
const body = await parseBody(c.req.raw);