Remove trpc and use H3 instead

This commit is contained in:
2023-12-09 21:26:34 +01:00
parent bcd123c5df
commit f0aa9ebdf4
11 changed files with 225 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export default defineEventHandler(async () => {
return await usePrisma().category.findMany()
})