aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-12-02 08:04:08 -0700
committercrobibero <cody@robibe.ro>2020-12-02 08:04:08 -0700
commit828504e9259a5b08ac9a53e03085c61e2271adc7 (patch)
treeb05cc1a47c9b8f0cb5b864767d00fd0e1b02dae2
parent08be7f094a7c001bebb7d9c589b5ce3f1fd2cabe (diff)
The future is now
-rw-r--r--Jellyfin.Api/Controllers/FilterController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/FilterController.cs b/Jellyfin.Api/Controllers/FilterController.cs
index f55f4f5f0..95c5df920 100644
--- a/Jellyfin.Api/Controllers/FilterController.cs
+++ b/Jellyfin.Api/Controllers/FilterController.cs
@@ -92,7 +92,7 @@ namespace Jellyfin.Api.Controllers
}
};
- if (!(item is Folder folder))
+ if (item is not Folder folder)
{
return new QueryFiltersLegacy();
}