aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-23 00:04:36 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-23 00:04:36 -0400
commitb20151fff373100da7946df93afb7dd4dccea3e4 (patch)
treea16d7085c0eab807c309c94461ed60821029f1ff /MediaBrowser.Api/UserLibrary/UserLibraryService.cs
parent4bc27f3a65ddbffcc7b74683df72503f20df275c (diff)
copy dashboard to the output folder and load from the file system, instead of using embedded resources
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/UserLibraryService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/UserLibraryService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
index 8b38f3c10..15f09f375 100644
--- a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
+++ b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
@@ -474,7 +474,7 @@ namespace MediaBrowser.Api.UserLibrary
{
// We need to parse this manually because we told service stack not to with IRequiresRequestStream
// https://code.google.com/p/servicestack/source/browse/trunk/Common/ServiceStack.Text/ServiceStack.Text/Controller/PathInfo.cs
- var pathInfo = PathInfo.Parse(Request.PathInfo);
+ var pathInfo = PathInfo.Parse(RequestContext.PathInfo);
var userId = new Guid(pathInfo.GetArgumentValue<string>(1));
var itemId = pathInfo.GetArgumentValue<string>(3);
@@ -595,7 +595,7 @@ namespace MediaBrowser.Api.UserLibrary
var item = DtoBuilder.GetItemByClientId(request.Id, _userManager, _libraryManager, user.Id);
- var auth = RequestFilterAttribute.GetAuthorization(Request);
+ var auth = RequestFilterAttribute.GetAuthorization(RequestContext);
if (auth != null)
{
@@ -613,7 +613,7 @@ namespace MediaBrowser.Api.UserLibrary
var item = DtoBuilder.GetItemByClientId(request.Id, _userManager, _libraryManager, user.Id);
- var auth = RequestFilterAttribute.GetAuthorization(Request);
+ var auth = RequestFilterAttribute.GetAuthorization(RequestContext);
if (auth != null)
{
@@ -633,7 +633,7 @@ namespace MediaBrowser.Api.UserLibrary
var item = DtoBuilder.GetItemByClientId(request.Id, _userManager, _libraryManager, user.Id);
- var auth = RequestFilterAttribute.GetAuthorization(Request);
+ var auth = RequestFilterAttribute.GetAuthorization(RequestContext);
if (auth != null)
{