Browse Source

Update ServiceHandler.cs

BaronGreenback 5 years ago
parent
commit
fd2f18899b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Services/ServiceHandler.cs

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

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