mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00: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