Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: progress <shravani.roy@progress.com>
  • Loading branch information
RoyShravani committed Aug 24, 2023
1 parent a1cba10 commit dbb687d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def create!
rails_script = <<~EOF
app = Doorkeeper::Application.find_or_create_by(:name => "#{new_resource.name}");
app.update(:redirect_uri => "#{new_resource.redirect_uri}");
puts app.to_json
puts app.attributes.to_json
EOF
# in order to account for rails logging, we take only the last line of output
# from the rails runner script. if the logging is parsed as json, we end up
Expand Down
2 changes: 1 addition & 1 deletion src/chef-server-ctl/plugins/oc_id_show_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

rails_script = <<EOF
app = Doorkeeper::Application.find_by(:name => "#{app_name}");
puts app.to_json
puts app.attributes.to_json
EOF

env_helper = "veil-env-helper --use-file -f /etc/#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}/private-#{ChefUtils::Dist::Infra::SHORT}-secrets.json -s chef-server.webui_key -s oc_id.sql_password -s oc_id.secret_key_base"
Expand Down

0 comments on commit dbb687d

Please sign in to comment.