Ver código fonte

Return empty response instead of not found

Shadowghost 8 meses atrás
pai
commit
0a982e2bfd
1 arquivos alterados com 0 adições e 5 exclusões
  1. 0 5
      Jellyfin.Api/Controllers/SessionController.cs

+ 0 - 5
Jellyfin.Api/Controllers/SessionController.cs

@@ -64,11 +64,6 @@ public class SessionController : BaseJellyfinApiController
             activeWithinSeconds,
             controllableUserToCheck);
 
-        if (result.Count == 0)
-        {
-            return NotFound();
-        }
-
         return Ok(result);
     }