lib/contentful/management/editor_interface.rb in contentful-management-3.9.0 vs lib/contentful/management/editor_interface.rb in contentful-management-3.10.0

- old
+ new

@@ -72,11 +72,11 @@ content_type_id: content_type.id, editor_id: id }, { 'controls' => attributes[:controls] || controls, - 'sidebar' => attributes[:sidebar] || sidebar - }, + 'sidebar' => attributes.fetch(:sidebar, sidebar) + }.compact, version: sys[:version] ) end # Destroys an EditorInterface.