mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 05:24:22 +01:00
Merge branch 'fix-remove-strict' into 'main'
fix(updateInstanceSchema): remove zod strict() See merge request soapbox-pub/ditto!589
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user