Explorar o código

Update DlnaServerService.cs

BaronGreenback %!s(int64=5) %!d(string=hai) anos
pai
achega
672a35db94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)