Explorar o código

Return empty response instead of not found

Shadowghost hai 9 meses
pai
achega
0a982e2bfd
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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);
     }