浏览代码

Add second endpoint for Startup/User

crobibero 5 年之前
父节点
当前提交
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()
         {