This commit is contained in:
2025-12-09 12:26:10 +01:00
parent 4a3515f6f3
commit 6d05001812
2 changed files with 0 additions and 102 deletions

View File

@@ -504,15 +504,6 @@ export default async function resourceRoutes(server: FastifyInstance) {
}
})
// vorherige Version für History laden
/*const {data: oldItem} = await server.supabase
.from(resource)
.select("*")
.eq("id", id)
.eq("tenant", tenantId)
.single()*/
const [updated] = await server.db
.update(table)
.set({...body, updated_at: new Date().toISOString(), updated_by: userId})