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

Add second endpoint for Startup/User
This commit is contained in:
dkanada 2020-06-10 11:03:35 +09:00 committed by GitHub
commit ac9bef9465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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