lib/contentful/management/editor_interface.rb in contentful-management-2.8.0 vs lib/contentful/management/editor_interface.rb in contentful-management-2.8.1

- old
+ new

@@ -83,10 +83,14 @@ def refresh_find self.class.default(client, space.id, environment_id, content_type.id) end def query_attributes(attributes) - attributes.each_with_object({}) { |(k, v), result| result[k.to_sym] = v } + { + controls: controls + }.merge( + attributes.each_with_object({}) { |(k, v), result| result[k.to_sym] = v } + ) end end end end