mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-01 04:37:55 +01:00
eslint fixes
This commit is contained in:
@@ -7,7 +7,7 @@ const UserShape = z.object({
|
||||
id: z.number(),
|
||||
name: z.string(),
|
||||
username: z.string(),
|
||||
email: z.string(),
|
||||
email: z.string()
|
||||
})
|
||||
|
||||
export type User = z.infer<typeof UserShape>
|
||||
@@ -27,7 +27,7 @@ export const userRouter = router({
|
||||
.mutation((req) => {
|
||||
return $fetch<User>(`${baseURL}/users`, {
|
||||
method: 'POST',
|
||||
body: req.input,
|
||||
body: req.input
|
||||
})
|
||||
}),
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user