Browse Source

Add second endpoint for Startup/User

crobibero 5 years ago
parent
commit
cf9cbfff56
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Jellyfin.Api/Controllers/StartupController.cs

+ 1 - 0
Jellyfin.Api/Controllers/StartupController.cs

@@ -109,6 +109,7 @@ namespace Jellyfin.Api.Controllers
         /// <response code="200">Initial user retrieved.</response>
         /// <response code="200">Initial user retrieved.</response>
         /// <returns>The first user.</returns>
         /// <returns>The first user.</returns>
         [HttpGet("User")]
         [HttpGet("User")]
+        [HttpGet("FirstUser")]
         [ProducesResponseType(StatusCodes.Status200OK)]
         [ProducesResponseType(StatusCodes.Status200OK)]
         public ActionResult<StartupUserDto> GetFirstUser()
         public ActionResult<StartupUserDto> GetFirstUser()
         {
         {