diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2024-09-18 16:04:29 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2024-09-18 16:04:29 +0200 |
| commit | 0a982e2bfdd6f72dbe9c0bcb09db9890a314a7af (patch) | |
| tree | eafcdde45ca7a759ad0922ec8ab45dab784efdc0 | |
| parent | 7a2427bf07f9036d62c88a75855cd6dc7e8e3064 (diff) | |
Return empty response instead of not found
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 5 |
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); } |
