mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
Working on arthome
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user