Skip to content

The Free Software Media System - Server Backend & API

Update ServiceHandler.cs

BaronGreenbackfd2f18899b8e
diff --git a/Emby.Server.Implementations/Services/ServiceHandler.cs b/Emby.Server.Implementations/Services/ServiceHandler.cs
index c544c86f5b..3997a5ddb7 100644
--- a/Emby.Server.Implementations/Services/ServiceHandler.cs
+++ b/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