aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/StartupController.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-06-10 11:03:35 +0900
committerGitHub <noreply@github.com>2020-06-10 11:03:35 +0900
commitac9bef9465817fbfa5425ee4377bd294f69179df (patch)
treed9da920f2cc631734865ee2a643042dbce5bcef4 /Jellyfin.Api/Controllers/StartupController.cs
parentb3f8928fbb9cada0eb58b9f3cf29a87ba57cd205 (diff)
parentcf9cbfff5667961eebec04f20c844f9df988c5a7 (diff)
Merge pull request #3227 from crobibero/api-first-user
Add second endpoint for Startup/User
Diffstat (limited to 'Jellyfin.Api/Controllers/StartupController.cs')
-rw-r--r--Jellyfin.Api/Controllers/StartupController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index ed1dc1ede..57a02e62a 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -109,6 +109,7 @@ namespace Jellyfin.Api.Controllers
/// <response code="200">Initial user retrieved.</response>
/// <returns>The first user.</returns>
[HttpGet("User")]
+ [HttpGet("FirstUser")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<StartupUserDto> GetFirstUser()
{