diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index b0b26c1762..2db7e32aad 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -36,7 +36,7 @@ namespace Jellyfin.Api.Controllers
/// Status.
[HttpPost("Complete")]
[ProducesResponseType(StatusCodes.Status200OK)]
- public IActionResult CompleteWizard()
+ public ActionResult CompleteWizard()
{
_config.Configuration.IsStartupWizardCompleted = true;
_config.SetOptimalValues();
@@ -49,8 +49,8 @@ namespace Jellyfin.Api.Controllers
///
/// The initial startup wizard configuration.
[HttpGet("Configuration")]
- [ProducesResponseType(typeof(StartupConfigurationDto), StatusCodes.Status200OK)]
- public IActionResult GetStartupConfiguration()
+ [ProducesResponseType(StatusCodes.Status200OK)]
+ public ActionResult GetStartupConfiguration()
{
var result = new StartupConfigurationDto
{
@@ -71,7 +71,7 @@ namespace Jellyfin.Api.Controllers
/// Status.
[HttpPost("Configuration")]
[ProducesResponseType(StatusCodes.Status200OK)]
- public IActionResult UpdateInitialConfiguration(
+ public ActionResult UpdateInitialConfiguration(
[FromForm] string uiCulture,
[FromForm] string metadataCountryCode,
[FromForm] string preferredMetadataLanguage)
@@ -91,7 +91,7 @@ namespace Jellyfin.Api.Controllers
/// Status.
[HttpPost("RemoteAccess")]
[ProducesResponseType(StatusCodes.Status200OK)]
- public IActionResult SetRemoteAccess([FromForm] bool enableRemoteAccess, [FromForm] bool enableAutomaticPortMapping)
+ public ActionResult SetRemoteAccess([FromForm] bool enableRemoteAccess, [FromForm] bool enableAutomaticPortMapping)
{
_config.Configuration.EnableRemoteAccess = enableRemoteAccess;
_config.Configuration.EnableUPnP = enableAutomaticPortMapping;
@@ -104,8 +104,8 @@ namespace Jellyfin.Api.Controllers
///
/// The first user.
[HttpGet("User")]
- [ProducesResponseType(typeof(StartupUserDto), StatusCodes.Status200OK)]
- public IActionResult GetFirstUser()
+ [ProducesResponseType(StatusCodes.Status200OK)]
+ public ActionResult GetFirstUser()
{
var user = _userManager.Users.First();
return Ok(new StartupUserDto { Name = user.Name, Password = user.Password });
@@ -118,7 +118,7 @@ namespace Jellyfin.Api.Controllers
/// The async task.
[HttpPost("User")]
[ProducesResponseType(StatusCodes.Status200OK)]
- public async Task UpdateUser([FromForm] StartupUserDto startupUserDto)
+ public async Task UpdateUser([FromForm] StartupUserDto startupUserDto)
{
var user = _userManager.Users.First();