aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/HttpHandlers/UserConfigurationHandler.cs
blob: faace9c31a183cc802078fb0c856ea42d8543b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
            }
        }
    }
}