mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 21:54:26 -04:00
Return empty response instead of not found
This commit is contained in:
parent
7a2427bf07
commit
0a982e2bfd
@ -64,11 +64,6 @@ public class SessionController : BaseJellyfinApiController
|
|||||||
activeWithinSeconds,
|
activeWithinSeconds,
|
||||||
controllableUserToCheck);
|
controllableUserToCheck);
|
||||||
|
|
||||||
if (result.Count == 0)
|
|
||||||
{
|
|
||||||
return NotFound();
|
|
||||||
}
|
|
||||||
|
|
||||||
return Ok(result);
|
return Ok(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user