diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-08-09 23:26:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-09 23:26:10 -0700 |
| commit | b5f3f28f41d9ff5e2edbb9a6f9f70accc2f7de05 (patch) | |
| tree | 3da2f4b01f133efc2da1b055bbfffdcdff6a32ac /Emby.Server.Implementations/Services/ServiceController.cs | |
| parent | f8ad6655fbf2909bd3368ceac4b7947bea41b009 (diff) | |
| parent | 0116190050be69b2ac61d46681f2c7478a1318b9 (diff) | |
Merge pull request #1578 from Bond-009/httpresponse
Replace custom code with Asp.Net Core code
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceController.cs')
| -rw-r--r-- | Emby.Server.Implementations/Services/ServiceController.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceController.cs b/Emby.Server.Implementations/Services/ServiceController.cs index 5e3d529c6..d963f9043 100644 --- a/Emby.Server.Implementations/Services/ServiceController.cs +++ b/Emby.Server.Implementations/Services/ServiceController.cs @@ -147,7 +147,6 @@ namespace Emby.Server.Implementations.Services public Task<object> Execute(HttpListenerHost httpHost, object requestDto, IRequest req) { - req.Dto = requestDto; var requestType = requestDto.GetType(); req.OperationName = requestType.Name; @@ -161,9 +160,6 @@ namespace Emby.Server.Implementations.Services serviceRequiresContext.Request = req; } - if (req.Dto == null) // Don't override existing batched DTO[] - req.Dto = requestDto; - //Executes the service and returns the result return ServiceExecGeneral.Execute(serviceType, req, service, requestDto, requestType.GetMethodName()); } |
