mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-17 13:10:28 +01:00
Apply suggestions from code review
This commit is contained in:
@@ -1433,7 +1433,7 @@ namespace Emby.Server.Implementations.Session
|
||||
Limit = 1
|
||||
});
|
||||
|
||||
if (result.TotalRecordCount < 1)
|
||||
if (result.TotalRecordCount == 0)
|
||||
{
|
||||
throw new SecurityException("Unknown quick connect token");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user