소스 검색

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);
     }