Skip to content

Commit

Permalink
Fixes #36591 - Fix the parameter value masking
Browse files Browse the repository at this point in the history
  • Loading branch information
girijaasoni committed Jul 14, 2023
1 parent 414c1c6 commit c090de8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion app/models/parameter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ class Parameter < ApplicationRecord
extend FriendlyId
friendly_id :name
include Parameterizable::ByIdName
include HiddenValue
include KeyType
include KeyValueValidation

Expand Down
6 changes: 1 addition & 5 deletions app/views/api/v2/parameters/base.json.rabl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
object @parameter

attributes :id, :name, :parameter_type, :associated_type, :hidden_value?

node do
partial("api/v2/common/show_hidden", :locals => { :value => :value }, :object => @object)
end
attributes :id, :name, :value, :parameter_type, :associated_type, :hidden_value?

0 comments on commit c090de8

Please sign in to comment.