jellyfin-server/MediaBrowser.Api/HttpHandlers/UserConfigurationHandler.cs
LukePulverenti Luke Pulverenti luke pulverenti 6c7175e33d Added an api call to pull down user configuration
2012-07-23 11:05:30 -04:00

19 lines
454 B
C#

using System;
using MediaBrowser.Controller;
namespace MediaBrowser.Api.HttpHandlers
{
public class UserConfigurationHandler : JsonHandler
{
protected override object ObjectToSerialize
{
get
{
Guid userId = Guid.Parse(QueryString["userid"]);
return Kernel.Instance.ConfigurationController.GetUserConfiguration(userId);
}
}
}
}