mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
Replace != null with is not null
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Jellyfin.Server.Middleware
|
||||
public async Task Invoke(HttpContext httpContext)
|
||||
{
|
||||
var feature = httpContext.Features.Get<IQueryFeature>();
|
||||
if (feature != null)
|
||||
if (feature is not null)
|
||||
{
|
||||
httpContext.Features.Set<IQueryFeature>(new UrlDecodeQueryFeature(feature));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user