Tidying
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user