From f9abaa409aa03f7921299d57c0ba454fa0ee8bdd Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Fri, 13 Mar 2020 13:10:04 +0100 Subject: [PATCH] fix calendar-holiday model --- modules/worker/back/models/calendar-holiday.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/worker/back/models/calendar-holiday.json b/modules/worker/back/models/calendar-holiday.json index 0956893ae..544452553 100644 --- a/modules/worker/back/models/calendar-holiday.json +++ b/modules/worker/back/models/calendar-holiday.json @@ -23,12 +23,12 @@ "detail": { "type": "belongsTo", "model": "CalendarHolidaysName", - "foreignKey": "holidayDetailFk" + "foreignKey": "calendarHolidaysNameFk" }, "type": { "type": "belongsTo", "model": "CalendarHolidaysType", - "foreignKey": "holidayTypeFk" + "foreignKey": "calendarHolidaysTypeFk" }, "workCenter": { "type": "belongsTo",