Browse Source

Merge pull request #3227 from crobibero/api-first-user

Add second endpoint for Startup/User
dkanada 5 years ago
parent
commit
ac9bef9465
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()
         {
         {