diff options
| author | Bond-009 <bond.009@outlook.com> | 2025-05-04 16:40:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 08:40:34 -0600 |
| commit | 0c3ba30de214eddcd6118c3b695b08e5482bf7ed (patch) | |
| tree | a862a90f6c78cd61f78e5af7b75611a37f527ccf /Jellyfin.Api/Controllers | |
| parent | 4096c973c623a72525843d5fe278d1f36fbbc58a (diff) | |
Cleanup file related code (#14023)
Diffstat (limited to 'Jellyfin.Api/Controllers')
| -rw-r--r-- | Jellyfin.Api/Controllers/SyncPlayController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SyncPlayController.cs b/Jellyfin.Api/Controllers/SyncPlayController.cs index fbab2a784..3d6874079 100644 --- a/Jellyfin.Api/Controllers/SyncPlayController.cs +++ b/Jellyfin.Api/Controllers/SyncPlayController.cs @@ -125,7 +125,7 @@ public class SyncPlayController : BaseJellyfinApiController { var currentSession = await RequestHelpers.GetSession(_sessionManager, _userManager, HttpContext).ConfigureAwait(false); var group = _syncPlayManager.GetGroup(currentSession, id); - return group == null ? NotFound() : Ok(group); + return group is null ? NotFound() : Ok(group); } /// <summary> |
