mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(updateInstanceSchema): remove zod strict()
This commit is contained in:
parent
ee4373bdab
commit
8fccd7eb03
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ const updateInstanceSchema = z.object({
|
||||||
thumbnail: z.object({
|
thumbnail: z.object({
|
||||||
url: z.string().url(),
|
url: z.string().url(),
|
||||||
}),
|
}),
|
||||||
}).strict();
|
});
|
||||||
|
|
||||||
export const updateInstanceController: AppController = async (c) => {
|
export const updateInstanceController: AppController = async (c) => {
|
||||||
const body = await parseBody(c.req.raw);
|
const body = await parseBody(c.req.raw);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue