Update ServiceController.cs

This commit is contained in:
BaronGreenback 2020-07-17 12:54:28 +01:00 committed by GitHub
parent 7cd4ae3b6e
commit 912847ae8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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