Change userId to required in operations that would otherwise throw exceptions

This commit is contained in:
Niels van Velzen
2021-06-12 16:19:34 +02:00
parent 93dbbfea03
commit 226abde3f7
2 changed files with 4 additions and 4 deletions

View File

@@ -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,