diff --git a/playground/server/trpc/index.ts b/playground/server/trpc/index.ts index 5472076..2a72244 100644 --- a/playground/server/trpc/index.ts +++ b/playground/server/trpc/index.ts @@ -2,7 +2,6 @@ import * as trpc from '@trpc/server' import type { inferAsyncReturnType } from '@trpc/server' import { z } from 'zod' import type { CompatibilityEvent } from 'h3' -import { useCookies } from 'h3' const baseURL = 'https://jsonplaceholder.typicode.com' @@ -30,6 +29,7 @@ export const router = trpc.router() .mutation('addTodo', { input: TodoShape, async resolve(req) { + console.log(req.input) return await $fetch(`${baseURL}/todos`, { method: 'POST', body: req.input,