mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
add code suggestions
This commit is contained in:
parent
1bc8ca2542
commit
f93edb7ade
@ -1494,7 +1494,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
{
|
{
|
||||||
Limit = 1,
|
Limit = 1,
|
||||||
AccessToken = accessToken
|
AccessToken = accessToken
|
||||||
}).Items[0];
|
}).Items.FirstOrDefault();
|
||||||
|
|
||||||
if (existing != null)
|
if (existing != null)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Model.Dto;
|
using MediaBrowser.Model.Dto;
|
||||||
@ -124,6 +125,7 @@ namespace MediaBrowser.Controller.Session
|
|||||||
/// Gets or sets the session controller.
|
/// Gets or sets the session controller.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The session controller.</value>
|
/// <value>The session controller.</value>
|
||||||
|
[JsonIgnore]
|
||||||
public ISessionController[] SessionControllers { get; set; }
|
public ISessionController[] SessionControllers { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user