Explorar el Código

Update ServiceHandler.cs

BaronGreenback hace 5 años
padre
commit
06beecc4f8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Emby.Server.Implementations/Services/ServiceHandler.cs

+ 2 - 1
Emby.Server.Implementations/Services/ServiceHandler.cs

@@ -78,7 +78,8 @@ namespace Emby.Server.Implementations.Services
             var request = await CreateRequest(httpHost, httpReq, _restPath, logger).ConfigureAwait(false);
 
             httpHost.ApplyRequestFilters(httpReq, httpRes, request);
-
+            
+            httpRes.HttpContext.Items["ServiceStackRequest"] = httpReq;
             var response = await httpHost.ServiceController.Execute(httpHost, request, httpReq).ConfigureAwait(false);
 
             // Apply response filters