Fix HttpEndpointMiddleware to pass correct input model

Fixes #994
This commit is contained in:
Sipke Schoorstra 2021-05-17 13:49:53 +02:00
parent 2830dee5f6
commit 2ba95f14bf

View file

@ -79,7 +79,7 @@ namespace Elsa.Activities.Http.Middleware
if (useDispatch)
await workflowLaunchpad.DispatchPendingWorkflowAsync(pendingWorkflow, inputModel, cancellationToken);
else
await workflowLaunchpad.ExecutePendingWorkflowsAsync(pendingWorkflows, commonInputModel, cancellationToken);
await workflowLaunchpad.ExecutePendingWorkflowsAsync(pendingWorkflows, inputModel, cancellationToken);
}
if (pendingWorkflows.Count > 0)