diff --git a/src/activities/Elsa.Activities.Http/RequestHandlers/Handlers/SignalRequestHandler.cs b/src/activities/Elsa.Activities.Http/RequestHandlers/Handlers/SignalRequestHandler.cs index 8453ccbc0..d25fc9ace 100644 --- a/src/activities/Elsa.Activities.Http/RequestHandlers/Handlers/SignalRequestHandler.cs +++ b/src/activities/Elsa.Activities.Http/RequestHandlers/Handlers/SignalRequestHandler.cs @@ -23,14 +23,14 @@ namespace Elsa.Activities.Http.RequestHandlers.Handlers private readonly CancellationToken cancellationToken; public SignalRequestHandler( - HttpContext httpContext, + IHttpContextAccessor httpContextAccessor, ITokenService tokenService, IWorkflowInvoker workflowInvoker, IWorkflowRegistry workflowRegistry, IWorkflowFactory workflowFactory, IWorkflowInstanceStore workflowInstanceStore) { - this.httpContext = httpContext; + httpContext = httpContextAccessor.HttpContext; this.tokenService = tokenService; this.workflowInvoker = workflowInvoker; this.workflowRegistry = workflowRegistry;