diff --git a/src/main/kotlin/ru/mipt/spc/spcHome.kt b/src/main/kotlin/ru/mipt/spc/spcHome.kt index 2cc77c4..2ecf84a 100644 --- a/src/main/kotlin/ru/mipt/spc/spcHome.kt +++ b/src/main/kotlin/ru/mipt/spc/spcHome.kt @@ -56,13 +56,13 @@ internal val FortyDataRenderer: DataRenderer = object : DataRenderer { override fun invoke(name: Name, data: Data) { if (data.type == typeOf()) { data as Data - val languageMeta: Meta = DataRenderer.buildLanguageMeta(name) + val languageMeta: Meta = Language.forName(name) val dataMeta: Meta = if (languageMeta.isEmpty()) { data.meta } else { data.meta.toMutableMeta().apply { - "languages" put languageMeta + Language.LANGUAGES_KEY put languageMeta } }