aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/HttpHandlers/PersonHandler.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-16 12:50:44 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-16 12:50:44 -0400
commit6fbd5cf46407a212fadb52eee00c7ac7690430ea (patch)
tree0e21ea9603d6c78801ac01e1e0e412acd2341a45 /MediaBrowser.Api/HttpHandlers/PersonHandler.cs
parentbaedafbeb92db3ddf434f038984970bf0a6ac0c1 (diff)
All calls to get items now require passing in a userId. Made the model project portable. Also filled in more api calls.
Diffstat (limited to 'MediaBrowser.Api/HttpHandlers/PersonHandler.cs')
-rw-r--r--MediaBrowser.Api/HttpHandlers/PersonHandler.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/HttpHandlers/PersonHandler.cs b/MediaBrowser.Api/HttpHandlers/PersonHandler.cs
index 066ab4816..6a9d37679 100644
--- a/MediaBrowser.Api/HttpHandlers/PersonHandler.cs
+++ b/MediaBrowser.Api/HttpHandlers/PersonHandler.cs
@@ -1,4 +1,5 @@
using MediaBrowser.Common.Net;
+using MediaBrowser.Controller;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Api.HttpHandlers
@@ -14,7 +15,7 @@ namespace MediaBrowser.Api.HttpHandlers
{
get
{
- return ApiService.GetPersonByName(QueryString["name"]);
+ return Kernel.Instance.ItemController.GetPerson(QueryString["name"]);
}
}
}