This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user