mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed a bug in WebRequestActivity.
The activity always returned Success and Error in case of an HTTP error, instead of just Error.
This commit is contained in:
@@ -70,8 +70,8 @@ namespace Orchard.Workflows.Activities {
|
||||
|
||||
if (response.IsSuccessStatusCode)
|
||||
yield return T("Success");
|
||||
|
||||
yield return T("Error");
|
||||
else
|
||||
yield return T("Error");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user