Working on arthome

This commit is contained in:
2024-08-30 14:24:42 +02:00
parent 396e8a6850
commit 9b7ef74408
4 changed files with 0 additions and 20 deletions

View File

@@ -4,7 +4,6 @@ import { UpdateTabSchema } from '~~/types/types'
export default defineEventHandler(async (event) => {
try {
const { id } = await getRouterParams(event)
console.log(await readBody(event))
const body = await useValidatedBody(event, UpdateTabSchema)
await useDrizzle()
.update(tables.tabs)