#3539 - reverted one line

This commit is contained in:
Bjarke Berg
2019-01-04 13:17:01 +01:00
parent 9bf66b0881
commit da6a815f16

View File

@@ -120,7 +120,9 @@ namespace Umbraco.Web.Redirects
{
return;
}
if (args.MessageObject is ContentCacheRefresher.JsonPayload[])
var payloads = args.MessageObject as ContentCacheRefresher.JsonPayload[];
if (payloads == null)
{
throw new InvalidOperationException("ContentCacheRefresher MessageObject should be JsonPayload[].");
}