Fix Redirect behavior
See https://stackoverflow.com/questions/68217426/elsa-workflows-redirect-http-action-behavior
This commit is contained in:
parent
709c7f7e59
commit
87c7cb08ec
|
|
@ -42,7 +42,7 @@ namespace Elsa.Activities.Http
|
|||
if (response.HasStarted)
|
||||
return Fault(T["Response has already started"]!);
|
||||
|
||||
return new RedirectResult(_httpContextAccessor, Location, Permanent);
|
||||
return Combine(new RedirectResult(_httpContextAccessor, Location, Permanent), Done());
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue