mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 23:30:50 +02:00
Update ServiceController.cs
This commit is contained in:
parent
7cd4ae3b6e
commit
912847ae8c
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue