Lowercase actual parameters in code and remove whitespace to comply with StyleCopAnalyzers

pull/2848/head
ZadenRB 5 years ago
parent 16a66dc89c
commit 72862d7b46

@ -60,18 +60,18 @@ namespace Jellyfin.Api.Controllers
/// <summary> /// <summary>
/// Endpoint for updating the initial startup wizard configuration. /// Endpoint for updating the initial startup wizard configuration.
/// </summary> /// </summary>
/// <param name="UICulture">The UI language culture.</param> /// <param name="uiCulture">The UI language culture.</param>
/// <param name="MetadataCountryCode">The metadata country code.</param> /// <param name="metadataCountryCode">The metadata country code.</param>
/// <param name="PreferredMetadataLanguage">The preferred language for metadata.</param> /// <param name="preferredMetadataLanguage">The preferred language for metadata.</param>
[HttpPost("Configuration")] [HttpPost("Configuration")]
public void UpdateInitialConfiguration( public void UpdateInitialConfiguration(
[FromForm] string UICulture, [FromForm] string uiCulture,
[FromForm] string MetadataCountryCode, [FromForm] string metadataCountryCode,
[FromForm] string PreferredMetadataLanguage) [FromForm] string preferredMetadataLanguage)
{ {
_config.Configuration.UICulture = UICulture; _config.Configuration.UICulture = uiCulture;
_config.Configuration.MetadataCountryCode = MetadataCountryCode; _config.Configuration.MetadataCountryCode = metadataCountryCode;
_config.Configuration.PreferredMetadataLanguage = PreferredMetadataLanguage; _config.Configuration.PreferredMetadataLanguage = preferredMetadataLanguage;
_config.SaveConfiguration(); _config.SaveConfiguration();
} }

Loading…
Cancel
Save