BaronGreenback пре 5 година
родитељ
комит
06beecc4f8
1 измењених фајлова са 2 додато и 1 уклоњено
  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