diff --git a/server/AyaNova/biz/UserBiz.cs b/server/AyaNova/biz/UserBiz.cs index 7b467f0a..2675dcfc 100644 --- a/server/AyaNova/biz/UserBiz.cs +++ b/server/AyaNova/biz/UserBiz.cs @@ -62,7 +62,13 @@ namespace AyaNova.Biz //Seeder sets user options in advance so no need to create them here in that case if (inObj.UserOptions == null) + { 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); if (HasErrors) @@ -660,7 +666,7 @@ namespace AyaNova.Biz Hexadecimal notation: #RGB[A] R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (0–9, A–F). A is optional. The three-digit notation (#RGB) is a shorter version of the six-digit form (#RRGGBB). For example, #f09 is the same color as #ff0099. Likewise, the four-digit RGB notation (#RGBA) is a shorter version of the eight-digit form (#RRGGBBAA). For example, #0f38 is the same color as #00ff3388. */ - // This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations? + // This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations? i.UserOptions.UiColor = j["jextra"]["hexaScheduleBackColor"].Value();