diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-07-05 18:12:56 +0100 |
|---|---|---|
| committer | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-07-05 18:12:56 +0100 |
| commit | 70c638d1d48178bc1458fe86a48b2b60b06b7171 (patch) | |
| tree | ee0b1038de498428f4c2b8dbbd16081bb9d3e973 /Emby.Server.Implementations/Services/ServiceController.cs | |
| parent | ab10f210274ff46bf68b5af752a817bbd90f749a (diff) | |
Updated code as per jellyfin/master as version i amended didn't execute.
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceController.cs')
| -rw-r--r-- | Emby.Server.Implementations/Services/ServiceController.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceController.cs b/Emby.Server.Implementations/Services/ServiceController.cs index 2a780feb5..b1f2a6827 100644 --- a/Emby.Server.Implementations/Services/ServiceController.cs +++ b/Emby.Server.Implementations/Services/ServiceController.cs @@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.Services var serviceType = httpHost.GetServiceTypeByRequest(requestType); var service = httpHost.CreateInstance(serviceType, req); - + var serviceRequiresContext = service as IRequiresRequest; if (serviceRequiresContext != null) { @@ -189,5 +189,4 @@ namespace Emby.Server.Implementations.Services return ServiceExecGeneral.Execute(serviceType, req, service, requestDto, requestType.GetMethodName()); } } - } |
