mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00: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:
commit
d2d29aef8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue