language-learning-app/frontend/src/routes/login/+server.ts

6 lines
253 B
TypeScript
Raw Normal View History

2026-03-24 19:54:17 +00:00
import { createClient } from '../../client/client'
import { loginAuthLoginPost } from '../../client/sdk.gen.ts'
const client = createClient({ baseUrl: 'http://localhost:8000' })
loginAuthLoginPost({ client, body: { email: 'test', password: 'test' } })