diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-06-13 15:06:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 15:06:30 +0200 |
| commit | aaa9cc604f5cd3a2869259a9b0c404d0330195fd (patch) | |
| tree | 977ea26ff55763e95a128909dc8df74c3355def2 /Jellyfin.Api/Controllers/TrailersController.cs | |
| parent | 04daf0ff498655840b55d7ac6e571035aae6417c (diff) | |
| parent | 226abde3f72ccfc768766ce2ff295cb0972b6426 (diff) | |
Merge pull request #6176 from nielsvanvelzen/userid-required
Require userId in getItems and getTrailers endpoints
Diffstat (limited to 'Jellyfin.Api/Controllers/TrailersController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TrailersController.cs | 2 |
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, |
