diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index 4e515bd8d8..1e490faaec 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -6,7 +6,6 @@ using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Library;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
-using Newtonsoft.Json;
namespace Jellyfin.Api.Controllers
{
@@ -61,18 +60,18 @@ namespace Jellyfin.Api.Controllers
///
/// Endpoint for updating the initial startup wizard configuration.
///
- /// The UI language culture.
- /// The metadata country code.
- /// The preferred language for metadata.
+ /// The UI language culture.
+ /// The metadata country code.
+ /// The preferred language for metadata.
[HttpPost("Configuration")]
public void UpdateInitialConfiguration(
- [FromForm] string uiCulture,
- [FromForm] string metadataCountryCode,
- [FromForm] string preferredMetadataLanguage)
+ [FromForm] string UICulture,
+ [FromForm] string MetadataCountryCode,
+ [FromForm] string PreferredMetadataLanguage)
{
- _config.Configuration.UICulture = uiCulture;
- _config.Configuration.MetadataCountryCode = metadataCountryCode;
- _config.Configuration.PreferredMetadataLanguage = preferredMetadataLanguage;
+ _config.Configuration.UICulture = UICulture;
+ _config.Configuration.MetadataCountryCode = MetadataCountryCode;
+ _config.Configuration.PreferredMetadataLanguage = PreferredMetadataLanguage;
_config.SaveConfiguration();
}