瀏覽代碼

Return empty response instead of not found

Shadowghost 8 月之前
父節點
當前提交
0a982e2bfd
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      Jellyfin.Api/Controllers/SessionController.cs

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

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