mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Apply suggestions from code review
This commit is contained in:
parent
78ae86b86a
commit
de4cfa2234
@ -209,7 +209,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stub is null)
|
if (stub == null)
|
||||||
{
|
{
|
||||||
_logger.LogError("Error processing web socket message");
|
_logger.LogError("Error processing web socket message");
|
||||||
return;
|
return;
|
||||||
|
@ -75,7 +75,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||||||
foreach (var entry in queryResult)
|
foreach (var entry in queryResult)
|
||||||
{
|
{
|
||||||
UserMockup? mockup = JsonSerializer.Deserialize<UserMockup>(entry[2].ToBlob(), JsonDefaults.GetOptions());
|
UserMockup? mockup = JsonSerializer.Deserialize<UserMockup>(entry[2].ToBlob(), JsonDefaults.GetOptions());
|
||||||
if (mockup is null)
|
if (mockup == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user