This commit is contained in:
2020-05-19 17:23:19 +00:00
parent dcd312b119
commit dd6fb84bd4
3 changed files with 18 additions and 9 deletions

View File

@@ -489,6 +489,9 @@ namespace AyaNova
_newLog.LogDebug("Global settings");
ServerGlobalBizSettings.Initialize(null, dbContext);
_newLog.LogDebug("Ops settings");
ServerGlobalOpsSettings.Initialize(null, dbContext);
//Ensure translations are present, not missing any keys and that there is a server default translation that exists
TranslationBiz lb = new TranslationBiz(dbContext, 1, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, AuthorizationRoles.OpsAdminFull);
lb.ValidateTranslationsAsync().Wait();