Explorar o código

Update ServiceHandler.cs

BaronGreenback %!s(int64=5) %!d(string=hai) anos
pai
achega
fd2f18899b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             
-            httpRes.HttpContext.Items["ServiceStackRequest"] = httpReq;
+            httpRes.HttpContext.SetServiceStackRequest(httpReq);
             var response = await httpHost.ServiceController.Execute(httpHost, request, httpReq).ConfigureAwait(false);
 
             // Apply response filters