inc/meta/Registry.php
@@ -120,12 +120,11 @@ protected function getFieldSchema(array $field): array { if ($field['type'] === 'repeater') { $properties = []; foreach ($field['fields'] as $key => $subfield) { $properties[$key] = [ 'type' => MetaTypeManager::getMetaType($subfield['type']) ]; } $properties = array_map(function ($subfield) { return [ 'type' => MetaTypeManager::getMetaType($subfield['type']) ]; }, $field['fields']); return [ 'type' => 'object',