use property

This commit is contained in:
nzdev
2020-12-16 19:23:14 +13:00
parent f8bb53ac03
commit 697206188f

View File

@@ -172,7 +172,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
}
else if (value is LazyCompressedString lazyCompressedString)
{
if (lazyCompressedString.IsDecompressed())
if (lazyCompressedString.IsDecompressed)
{
PrimitiveSerializer.Char.WriteTo(PrefixString, stream);
PrimitiveSerializer.String.WriteTo(lazyCompressedString, stream);