aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/StartupController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-04-23 07:51:04 -0600
committercrobibero <cody@robibe.ro>2020-04-23 07:51:04 -0600
commitc7c2f9da90a7cf7a452de0ab1adf7e36f422bbe1 (patch)
tree4b536e4268af19dbe672f21131130e95e98f9fd7 /Jellyfin.Api/Controllers/StartupController.cs
parent7db3b035a6d1f7e6f4886c4497b98b7a6af6c679 (diff)
Apply suggestions
Diffstat (limited to 'Jellyfin.Api/Controllers/StartupController.cs')
-rw-r--r--Jellyfin.Api/Controllers/StartupController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index 2db7e32aa..14c59593f 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -59,7 +59,7 @@ namespace Jellyfin.Api.Controllers
PreferredMetadataLanguage = _config.Configuration.PreferredMetadataLanguage
};
- return Ok(result);
+ return result;
}
/// <summary>
@@ -108,7 +108,7 @@ namespace Jellyfin.Api.Controllers
public ActionResult<StartupUserDto> GetFirstUser()
{
var user = _userManager.Users.First();
- return Ok(new StartupUserDto { Name = user.Name, Password = user.Password });
+ return new StartupUserDto { Name = user.Name, Password = user.Password };
}
/// <summary>