This commit is contained in:
2020-03-18 15:45:40 +00:00
parent 7b78544d30
commit 6936186806

View File

@@ -62,7 +62,13 @@ namespace AyaNova.Biz
//Seeder sets user options in advance so no need to create them here in that case //Seeder sets user options in advance so no need to create them here in that case
if (inObj.UserOptions == null) if (inObj.UserOptions == null)
{
inObj.UserOptions = new UserOptions(); inObj.UserOptions = new UserOptions();
//todo: for now defaulting to server boot config but might need to add this to the route as an option
//now that it's not in the actual user record itself anymore as it's kind of critical
//revisit when get to client ui
inObj.UserOptions.TranslationId = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID;
}
await ValidateAsync(inObj, null); await ValidateAsync(inObj, null);
if (HasErrors) if (HasErrors)