aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceController.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-07-05 17:47:23 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2020-07-05 17:47:23 +0100
commitab10f210274ff46bf68b5af752a817bbd90f749a (patch)
treeccf72eedc9e4cb0c500de6d1976487cd1160f2e3 /Emby.Server.Implementations/Services/ServiceController.cs
parent46f67c9ea4f13e14d5f0b2aa30fdf0e10655c37d (diff)
Part 1 of a multi-PR change for Emby.DLNA
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceController.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceController.cs b/Emby.Server.Implementations/Services/ServiceController.cs
index 857df591a..2a780feb5 100644
--- a/Emby.Server.Implementations/Services/ServiceController.cs
+++ b/Emby.Server.Implementations/Services/ServiceController.cs
@@ -177,8 +177,8 @@ namespace Emby.Server.Implementations.Services
var serviceType = httpHost.GetServiceTypeByRequest(requestType);
- var service = httpHost.CreateInstance(serviceType);
-
+ var service = httpHost.CreateInstance(serviceType, req);
+
var serviceRequiresContext = service as IRequiresRequest;
if (serviceRequiresContext != null)
{