浏览代码

Add missing route attribute

crobibero 5 年之前
父节点
当前提交
a4b3f2e32b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Jellyfin.Api/Controllers/ChannelsController.cs

+ 1 - 0
Jellyfin.Api/Controllers/ChannelsController.cs

@@ -183,6 +183,7 @@ namespace Jellyfin.Api.Controllers
         /// <param name="channelIds">Optional. Specify one or more channel id's, comma delimited.</param>
         /// <response code="200">Latest channel items returned.</response>
         /// <returns>Latest channel items.</returns>
+        [HttpGet("Items/Latest")]
         public async Task<ActionResult<QueryResult<BaseItemDto>>> GetLatestChannelItems(
             [FromQuery] Guid? userId,
             [FromQuery] int? startIndex,