diff options
| author | David <daullmer@gmail.com> | 2020-07-06 17:41:02 +0200 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-07-06 17:41:02 +0200 |
| commit | 95ea9dad0012557afe512a338055fab30d17fb22 (patch) | |
| tree | ea5faa6fa6c3aa204e1960d7fa4025cd71eae106 | |
| parent | 5a74a7d3c7696ce419939b0cb2deac1fc45658c7 (diff) | |
Change route parameter name
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemsController.cs | 2 | ||||
| -rw-r--r-- | Jellyfin.Api/Controllers/TrailersController.cs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.cs index 4c6c43b0a..e1dd4af10 100644 --- a/Jellyfin.Api/Controllers/ItemsController.cs +++ b/Jellyfin.Api/Controllers/ItemsController.cs @@ -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, diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.cs index 39931f197..bd65abd50 100644 --- a/Jellyfin.Api/Controllers/TrailersController.cs +++ b/Jellyfin.Api/Controllers/TrailersController.cs @@ -222,6 +222,7 @@ namespace Jellyfin.Api.Controllers _logger) .GetItems( userId, + userId, maxOfficialRating, hasThemeSong, hasThemeVideo, |
