aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-07-19 17:54:09 +0100
committerGitHub <noreply@github.com>2020-07-19 17:54:09 +0100
commit672a35db94b147fc1479a4815f07b119f6a670b6 (patch)
tree8798bf6d0e35f1e21067b75b8821ba0d0fb398dc
parent69ba385782338723a83a2a107857f315ab014f79 (diff)
Update DlnaServerService.cs
-rw-r--r--Emby.Dlna/Api/DlnaServerService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Dlna/Api/DlnaServerService.cs b/Emby.Dlna/Api/DlnaServerService.cs
index a61a8d5ab..d9c1669b0 100644
--- a/Emby.Dlna/Api/DlnaServerService.cs
+++ b/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)