浏览代码

Return empty response instead of not found

Shadowghost 9 月之前
父节点
当前提交
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,
             controllableUserToCheck);
 
-        if (result.Count == 0)
-        {
-            return NotFound();
-        }
-
         return Ok(result);
     }