mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-30 10:57:49 +01:00
Working
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineEventHandler(async (event) => {
|
||||
.where(
|
||||
and(
|
||||
eq(tables.categories.id, id),
|
||||
eq(tables.categories.userId, user.id),
|
||||
eq(tables.categories.userId, user.user.id),
|
||||
),
|
||||
)
|
||||
return { statusCode: 200 }
|
||||
|
||||
Reference in New Issue
Block a user