We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c811fe6 commit d09554eCopy full SHA for d09554e
eFormAPI/eFormAPI/Controllers/AccountController.cs
@@ -76,7 +76,7 @@ public OperationDataResult<UserSettingsModel> GetUserSettings()
76
{
77
var configuration = WebConfigurationManager.OpenWebConfiguration("~");
78
var section = (AppSettingsSection)configuration.GetSection("appSettings");
79
- locale = section.Settings["general:defaultLocale"].Value;
+ locale = section.Settings["general:defaultLocale"]?.Value;
80
if (locale == null)
81
82
locale = "en-US";
0 commit comments