aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SessionController.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-12-15 08:28:44 +0100
committerGitHub <noreply@github.com>2021-12-15 08:28:44 +0100
commit4c9bd905c6ecbcf77ab644d3d936d17b1bb8e967 (patch)
treea2a2d1e7a6c591eee190342a172a8b9d7d51a802 /Jellyfin.Api/Controllers/SessionController.cs
parentec9cff29dfa0c0b08f4181b753eadab34cb05e3c (diff)
parent87439665d782a7a0f24d4015d53d584e66e40c2f (diff)
Merge pull request #6979 from crobibero/baseitemkind
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)
{