From 4d80073547d017461bab3385f48edea2e9333fb1 Mon Sep 17 00:00:00 2001 From: Vitor Rodrigues Date: Sat, 26 Aug 2023 17:56:16 +0200 Subject: [PATCH] Fixed incorrect BlockListPropertyValueConverter delivery api property value type --- .../ValueConverters/BlockListPropertyValueConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs b/src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs index 334b1f1aa3..52efe3755a 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs @@ -113,7 +113,7 @@ public class BlockListPropertyValueConverter : BlockPropertyValueConverterBase public Type GetDeliveryApiPropertyValueType(IPublishedPropertyType propertyType) - => typeof(IEnumerable); + => typeof(ApiBlockListModel); /// public object? ConvertIntermediateToDeliveryApiObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object? inter, bool preview, bool expanding)