Skip to content

Commit

Permalink
Fixes #34429 - properly return gpg key in repos json
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Mar 14, 2022
1 parent 05d1d71 commit b65c9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/katello/api/v2/repositories/show.json.rabl
Expand Up @@ -48,8 +48,8 @@ glue(@resource.root) do
attributes :id => @resource.root&.ssl_client_key&.id, :name => @resource.root&.ssl_client_key&.name
end

child :gpg_key do
attributes :id, :name
node :gpg_key do
attributes :id => @resource.root&.gpg_key&.id, :name => @resource.root&.gpg_key&.name
end
end

Expand Down

0 comments on commit b65c9e4

Please sign in to comment.