mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Lowercase actual parameters in code and remove whitespace to comply with StyleCopAnalyzers
This commit is contained in:
parent
16a66dc89c
commit
72862d7b46
2 changed files with 10 additions and 10 deletions
|
@ -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…
Reference in a new issue