From 95ea9dad0012557afe512a338055fab30d17fb22 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 6 Jul 2020 17:41:02 +0200 Subject: [PATCH] Change route parameter name --- Jellyfin.Api/Controllers/ItemsController.cs | 2 +- Jellyfin.Api/Controllers/TrailersController.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.cs index 4c6c43b0a4..e1dd4af101 100644 --- a/Jellyfin.Api/Controllers/ItemsController.cs +++ b/Jellyfin.Api/Controllers/ItemsController.cs @@ -140,7 +140,7 @@ namespace Jellyfin.Api.Controllers /// Optional, include image information in output. /// A with the items. [HttpGet("/Items")] - [HttpGet("/Users/{userId}/Items")] + [HttpGet("/Users/{uId}/Items")] [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetItems( [FromRoute] Guid uId, diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.cs index 39931f1976..bd65abd509 100644 --- a/Jellyfin.Api/Controllers/TrailersController.cs +++ b/Jellyfin.Api/Controllers/TrailersController.cs @@ -221,6 +221,7 @@ namespace Jellyfin.Api.Controllers _dtoService, _logger) .GetItems( + userId, userId, maxOfficialRating, hasThemeSong,