Add second endpoint for Startup/User

pull/3227/head
crobibero 4 years ago
parent 297ab2e423
commit cf9cbfff56

@ -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()
{ {

Loading…
Cancel
Save