From 1b7026fa00dd4e4824a45fa0473cb3491c0f9e86 Mon Sep 17 00:00:00 2001 From: carlossa Date: Thu, 13 Feb 2025 10:46:48 +0100 Subject: [PATCH] fix: refs #6553 remove business --- modules/worker/back/models/worker.json | 33 -------------------------- 1 file changed, 33 deletions(-) diff --git a/modules/worker/back/models/worker.json b/modules/worker/back/models/worker.json index 4ecce9ef26..68f9ea908f 100644 --- a/modules/worker/back/models/worker.json +++ b/modules/worker/back/models/worker.json @@ -279,39 +279,6 @@ } } }, - { - "relation": "business", - "scope": { - "fields": [ - "id", - "started", - "ended", - "reasonEndFk", - "departmentFk", - "workerBusinessProfessionalCategoryFk" - ], - "include":[ - { - "relation": "department", - "scope": { - "fields": ["id", "name"] - } - }, - { - "relation": "reasonEnd", - "scope": { - "fields": ["id", "reason"] - } - }, - { - "relation": "workerBusinessProfessionalCategory", - "scope": { - "fields": ["id", "description"] - } - } - ] - } - }, { "relation": "boss", "scope": {