Skip to content

Commit 7bb8e07

Browse files
committed
fix(web): use current createServerFn validator API
1 parent 4fb952e commit 7bb8e07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/routes/playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PlaygroundLayout from '../components/playground/PlaygroundLayout'
66
import type { PlaygroundSession } from '../lib/playground-types'
77

88
const getOrCreateSession = createServerFn({ method: 'GET' })
9-
.validator((data: { sessionId?: string }) => data)
9+
.inputValidator((data: { sessionId?: string }) => data)
1010
.handler(async ({ data }) => {
1111
const { createSession, getSession } = await import('../lib/server/playground-db')
1212

0 commit comments

Comments
 (0)