Merge branch 'fix-remove-strict' into 'main'

fix(updateInstanceSchema): remove zod strict()

See merge request soapbox-pub/ditto!589
This commit is contained in:
Alex Gleason 2024-11-15 14:56:22 +00:00
commit d2d29aef8f

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);