Change route parameter name

This commit is contained in:
David 2020-07-06 17:41:02 +02:00
parent 5a74a7d3c7
commit 95ea9dad00
2 changed files with 2 additions and 1 deletions

View File

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

View File

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