diff --git a/backend/services/falukantService.js b/backend/services/falukantService.js index aa9375d..be772dc 100644 --- a/backend/services/falukantService.js +++ b/backend/services/falukantService.js @@ -2982,7 +2982,7 @@ class FalukantService extends BaseService { }) : [], relationshipMoodIds.length > 0 ? Mood.findAll({ where: { id: { [Op.in]: relationshipMoodIds } }, - attributes: ['id', 'labelTr'] + attributes: ['id', 'tr'] }) : [] ]); @@ -2990,7 +2990,7 @@ class FalukantService extends BaseService { const firstNameMap = new Map([...firstNames, ...childFirstNames].map(fn => [fn.id, fn.name])); const lastNameMap = new Map(lastNames.map(ln => [ln.id, ln.name])); const titleMap = new Map(titles.map(t => [t.id, t.labelTr])); - const moodMap = new Map(moods.map(m => [m.id, m.labelTr])); + const moodMap = new Map(moods.map(m => [m.id, m.tr])); const traitsMap = new Map(); traits.forEach(t => { if (!traitsMap.has(t.characterId)) {