diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-11-02 16:52:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 16:52:05 +0100 |
| commit | 95918d161ed72cb2914cb3f3b7f55de46ed86372 (patch) | |
| tree | cddd4b461d7c3bdec0551322228b492a0dffd6c1 /Jellyfin.Api/Controllers/SessionController.cs | |
| parent | ea1a462a9d0aaa7d1e627a7a9aa6fdc07833259a (diff) | |
| parent | f2a86d9c80748b39c4bd798882dea79b7f345302 (diff) | |
Merge pull request #4328 from crobibero/trigger-warning
Remove CommaDelimitedArrayModelBinderProvider
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs index 565670962..e506ac7bf 100644 --- a/Jellyfin.Api/Controllers/SessionController.cs +++ b/Jellyfin.Api/Controllers/SessionController.cs @@ -379,7 +379,7 @@ namespace Jellyfin.Api.Controllers public ActionResult PostCapabilities( [FromQuery] string? id, [FromQuery] string? playableMediaTypes, - [FromQuery] GeneralCommandType[] supportedCommands, + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] GeneralCommandType[] supportedCommands, [FromQuery] bool supportsMediaControl = false, [FromQuery] bool supportsSync = false, [FromQuery] bool supportsPersistentIdentifier = true) |
