diff --git a/src/server/routes/api/v1/account/index.ts b/src/server/routes/api/v1/account/index.ts index 506c974..be0f344 100644 --- a/src/server/routes/api/v1/account/index.ts +++ b/src/server/routes/api/v1/account/index.ts @@ -303,11 +303,7 @@ export default function (files: Files) { router.patch( "/:user", scheme( - UserUpdateScheme, - (c) => - c.req.header("content-type") == "application/x-www-form-urlencoded" - ? c.req.param() - : c.req.json() + UserUpdateScheme ), assertAPI( ctx =>