app/views/katello/api/v2/content_views/base.json.rabl in katello-4.14.1 vs app/views/katello/api/v2/content_views/base.json.rabl in katello-4.15.0.rc1

- old
+ new

@@ -43,13 +43,13 @@ cv.environments.map do |env| { id: env.id, label: env.label, name: env.name, - activation_keys: cv&.activation_keys&.in_environment(env)&.ids, + activation_keys: cv&.activation_keys&.in_environments([env])&.ids, hosts: cv&.hosts&.in_environments([env])&.ids, - permissions: {readable: env.readable?} + permissions: {readable: env.readable?}, } end end if @object.composite? @@ -80,10 +80,10 @@ { :view_content_views => cv.readable?, :edit_content_views => cv.editable?, :destroy_content_views => cv.deletable?, :publish_content_views => cv.publishable?, - :promote_or_remove_content_views => cv.promotable_or_removable? + :promote_or_remove_content_views => cv.promotable_or_removable?, } end end child :components => :components do