aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SessionController.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-11 19:31:30 -0700
committerCody Robibero <cody@robibe.ro>2021-12-12 06:11:27 -0700
commit32629cd7da0a39962009bffd9389a660c196f541 (patch)
treebaf7eb3aa25a9753848e73667ef71f97b9538b7b /Jellyfin.Api/Controllers/SessionController.cs
parenta90614d194314f8a4d6f097637836610ce8b6bbe (diff)
Use BaseItemKind where possible
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SessionController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs
index 3a04cb3a4..a6bbd40cc 100644
--- a/Jellyfin.Api/Controllers/SessionController.cs
+++ b/Jellyfin.Api/Controllers/SessionController.cs
@@ -127,7 +127,7 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status204NoContent)]
public async Task<ActionResult> DisplayContent(
[FromRoute, Required] string sessionId,
- [FromQuery, Required] string itemType,
+ [FromQuery, Required] BaseItemKind itemType,
[FromQuery, Required] string itemId,
[FromQuery, Required] string itemName)
{