eslint fixes

This commit is contained in:
wobsoriano
2022-11-05 11:56:14 -07:00
parent e9081d00ad
commit e359702c41
7 changed files with 25 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ const TodoShape = z.object({
userId: z.number(),
id: z.number(),
title: z.string(),
completed: z.boolean(),
completed: z.boolean()
})
export type Todo = z.infer<typeof TodoShape>
@@ -27,7 +27,7 @@ export const todoRouter = router({
.mutation((req) => {
return $fetch<Todo>(`${baseURL}/todos`, {
method: 'POST',
body: req.input,
body: req.input
})
}),
})
})