Change route parameter name

pull/3493/head
David 4 years ago
parent 5a74a7d3c7
commit 95ea9dad00

@ -140,7 +140,7 @@ namespace Jellyfin.Api.Controllers
/// <param name="enableImages">Optional, include image information in output.</param> /// <param name="enableImages">Optional, include image information in output.</param>
/// <returns>A <see cref="QueryResult{BaseItemDto}"/> with the items.</returns> /// <returns>A <see cref="QueryResult{BaseItemDto}"/> with the items.</returns>
[HttpGet("/Items")] [HttpGet("/Items")]
[HttpGet("/Users/{userId}/Items")] [HttpGet("/Users/{uId}/Items")]
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<QueryResult<BaseItemDto>> GetItems( public ActionResult<QueryResult<BaseItemDto>> GetItems(
[FromRoute] Guid uId, [FromRoute] Guid uId,

@ -221,6 +221,7 @@ namespace Jellyfin.Api.Controllers
_dtoService, _dtoService,
_logger) _logger)
.GetItems( .GetItems(
userId,
userId, userId,
maxOfficialRating, maxOfficialRating,
hasThemeSong, hasThemeSong,

Loading…
Cancel
Save