Fix delivery API cache level for media picker property editors (#14238)

This commit is contained in:
Kenn Jacobsen
2023-05-15 08:49:01 +02:00
committed by GitHub
parent 401fa7334b
commit 368e9f2f59
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ public class MediaPickerValueConverter : PropertyValueConverterBase, IDeliveryAp
return source;
}
public PropertyCacheLevel GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType propertyType) => PropertyCacheLevel.Element;
public PropertyCacheLevel GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType propertyType) => PropertyCacheLevel.Elements;
public Type GetDeliveryApiPropertyValueType(IPublishedPropertyType propertyType) => typeof(IEnumerable<IApiMedia>);