From fe9322c0988e5b3acf57c02c172735b7a2228153 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Tue, 7 Apr 2026 11:13:38 +0200 Subject: [PATCH] feat(vocab): attach language names to course data in VocabService - Added a method to attach language names to course rows, enhancing the clarity and localization of vocabulary lessons. - This update improves the overall user experience by ensuring accurate representation of language names in course data. --- backend/services/vocabService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/services/vocabService.js b/backend/services/vocabService.js index 0bdbec2..2f0385f 100644 --- a/backend/services/vocabService.js +++ b/backend/services/vocabService.js @@ -1867,6 +1867,8 @@ export default class VocabService { pedagogy: this._buildLessonPedagogy(lesson) })); + await this._attachLanguageNamesToCourseRows([courseData]); + return courseData; }