jellyfin/MediaBrowser.Api/HttpHandlers/UserConfigurationHandler.cs

17 lines
425 B
C#
Raw Normal View History

using System;
using MediaBrowser.Common.Net.Handlers;
using MediaBrowser.Controller;
namespace MediaBrowser.Api.HttpHandlers
{
public class UserConfigurationHandler : BaseJsonHandler
{
protected override object GetObjectToSerialize()
{
Guid userId = Guid.Parse(QueryString["userid"]);
return Kernel.Instance.GetUserConfiguration(userId);
}
}
}