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:
Sipke Schoorstra
2014-01-07 00:23:09 +01:00
parent ec788d13eb
commit 985be9375a

View File

@@ -70,8 +70,8 @@ namespace Orchard.Workflows.Activities {
if (response.IsSuccessStatusCode)
yield return T("Success");
yield return T("Error");
else
yield return T("Error");
}
}