FreePS/server/api/test/index.ts

9 lines
210 B
TypeScript
Raw Normal View History

import { PrismaClient } from "@prisma/client"
const db = new PrismaClient()
export default defineEventHandler(async(event) => {
const body = await readBody(event)
console.info(body)
return body
})