Просмотр исходного кода

Add second endpoint for Startup/User

crobibero 5 лет назад
Родитель
Сommit
cf9cbfff56
1 измененных файлов с 1 добавлено и 0 удалено
  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>
         /// <returns>The first user.</returns>
         [HttpGet("User")]
+        [HttpGet("FirstUser")]
         [ProducesResponseType(StatusCodes.Status200OK)]
         public ActionResult<StartupUserDto> GetFirstUser()
         {