Browse Source

Update DlnaServerService.cs

BaronGreenback 4 years ago
parent
commit
672a35db94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Dlna/Api/DlnaServerService.cs

+ 1 - 1
Emby.Dlna/Api/DlnaServerService.cs

@@ -134,7 +134,7 @@ namespace Emby.Dlna.Api
             _dlnaManager = dlnaManager;
             _resultFactory = httpResultFactory;
             _configurationManager = configurationManager;
-            Request = httpContextAccessor?.HttpContext.GetServiceStack() ?? throw new ArgumentNullException(nameof(httpContextAccessor));
+            Request = httpContextAccessor?.HttpContext.GetServiceStackRequest() ?? throw new ArgumentNullException(nameof(httpContextAccessor));
         }
 
         private string GetHeader(string name)