Removed Archived

This commit is contained in:
2025-09-26 18:13:17 +02:00
parent 0ae247ac98
commit 4d9b1f1dff

View File

@@ -500,7 +500,6 @@ export default async function resourceRoutes(server: FastifyInstance) {
const { data, error } = await server.supabase.from(resource).select(with_information ? dataTypes[resource].supabaseSelectWithInformation : (select ? select : "*"))
.eq("id", id)
.eq("tenant", req.user.tenant_id)
.eq("archived", false) // nur aktive holen
.single();
if (error || !data) {