aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TrailersController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-15 11:56:35 -0700
committercrobibero <cody@robibe.ro>2020-11-15 11:56:35 -0700
commitdae4541badc94153be7e5ae10e3278969855dd6a (patch)
tree7d81a89d0675323f30d1557c79dcc19a9f0251b5 /Jellyfin.Api/Controllers/TrailersController.cs
parent3f313206c606662d2b5bcfa2c2a99a5c218f5ff2 (diff)
parent7caf1662eca2ea8826f3277e8b9d5c8c782fd03d (diff)
Merge remote-tracking branch 'upstream/master' into dotnet-5
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 6b4eee718..d78adcbcd 100644
--- a/Jellyfin.Api/Controllers/TrailersController.cs
+++ b/Jellyfin.Api/Controllers/TrailersController.cs
@@ -146,7 +146,7 @@ namespace Jellyfin.Api.Controllers
[FromQuery] string? searchTerm,
[FromQuery] string? sortOrder,
[FromQuery] string? parentId,
- [FromQuery] string? fields,
+ [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFields[] fields,
[FromQuery] string? excludeItemTypes,
[FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFilter[] filters,
[FromQuery] bool? isFavorite,