aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SessionController.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-09-18 16:04:29 +0200
committerShadowghost <Ghost_of_Stone@web.de>2024-09-18 16:04:29 +0200
commit0a982e2bfdd6f72dbe9c0bcb09db9890a314a7af (patch)
treeeafcdde45ca7a759ad0922ec8ab45dab784efdc0 /Jellyfin.Api/Controllers/SessionController.cs
parent7a2427bf07f9036d62c88a75855cd6dc7e8e3064 (diff)
Return empty response instead of not found
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SessionController.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs
index 91a879b8e..72eb93eff 100644
--- a/Jellyfin.Api/Controllers/SessionController.cs
+++ b/Jellyfin.Api/Controllers/SessionController.cs
@@ -64,11 +64,6 @@ public class SessionController : BaseJellyfinApiController
activeWithinSeconds,
controllableUserToCheck);
- if (result.Count == 0)
- {
- return NotFound();
- }
-
return Ok(result);
}