aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TrailersController.cs
diff options
context:
space:
mode:
authorNiels van Velzen <git@ndat.nl>2021-06-12 16:19:34 +0200
committerNiels van Velzen <git@ndat.nl>2021-06-12 16:19:34 +0200
commit226abde3f72ccfc768766ce2ff295cb0972b6426 (patch)
tree49b725100cdc87db062c0b2717a8765ceffd97b3 /Jellyfin.Api/Controllers/TrailersController.cs
parent93dbbfea03612e5b0321c31b80207a00a1691619 (diff)
Change userId to required in operations that would otherwise throw exceptions
Diffstat (limited to 'Jellyfin.Api/Controllers/TrailersController.cs')
-rw-r--r--Jellyfin.Api/Controllers/TrailersController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.cs
index dd3836551..5cb7468b2 100644
--- a/Jellyfin.Api/Controllers/TrailersController.cs
+++ b/Jellyfin.Api/Controllers/TrailersController.cs
@@ -114,7 +114,7 @@ namespace Jellyfin.Api.Controllers
[HttpGet]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<QueryResult<BaseItemDto>> GetTrailers(
- [FromQuery] Guid? userId,
+ [FromQuery] Guid userId,
[FromQuery] string? maxOfficialRating,
[FromQuery] bool? hasThemeSong,
[FromQuery] bool? hasThemeVideo,