diff --git a/app/controllers/dois_controller.rb b/app/controllers/dois_controller.rb index 9d2501482..d1c8c6946 100644 --- a/app/controllers/dois_controller.rb +++ b/app/controllers/dois_controller.rb @@ -424,9 +424,9 @@ def set_doi def set_include if params[:include].present? @include = params[:include].split(",").map { |i| i.downcase.underscore.to_sym } - @include = @include & [:client, :resource_type] + @include = @include & [:client, :media] else - @include = [:client, :resource_type] + @include = [:client, :media] end end