diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-02-04 01:29:18 +0900 |
|---|---|---|
| committer | dkanada <dkanada@users.noreply.github.com> | 2020-02-04 01:29:18 +0900 |
| commit | f93edb7ade68588f4e2e7e05932b3266105ea91a (patch) | |
| tree | c188abcf7ec1563f13bdb00b947144b7218c6f44 /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | 1bc8ca25421dd3b66a58e1ff0938ee7874d8448e (diff) | |
add code suggestions
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 8e52f2415..4aed226de 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -1494,7 +1494,7 @@ namespace Emby.Server.Implementations.Session { Limit = 1, AccessToken = accessToken - }).Items[0]; + }).Items.FirstOrDefault(); if (existing != null) { |
