|
|
@ -177,7 +177,7 @@ namespace Emby.Server.Implementations.Services
|
|
|
|
|
|
|
|
|
|
|
|
var serviceType = httpHost.GetServiceTypeByRequest(requestType);
|
|
|
|
var serviceType = httpHost.GetServiceTypeByRequest(requestType);
|
|
|
|
|
|
|
|
|
|
|
|
var service = httpHost.CreateInstance(serviceType, req);
|
|
|
|
var service = httpHost.CreateInstance(serviceType);
|
|
|
|
|
|
|
|
|
|
|
|
var serviceRequiresContext = service as IRequiresRequest;
|
|
|
|
var serviceRequiresContext = service as IRequiresRequest;
|
|
|
|
if (serviceRequiresContext != null)
|
|
|
|
if (serviceRequiresContext != null)
|
|
|
|