Skip to content

Commit

Permalink
Update validation.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Feb 3, 2025
1 parent 8142d6a commit 05f35dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/classes/query/modules/validation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Query::Modules::Validation
def validate_params
old_params = @params.dup.compact.symbolize_keys
new_params = {}
parameter_declarations.slice(*@params.keys).each do |param, param_type|
parameter_declarations.slice(*old_params.keys).each do |param, param_type|
val = old_params[param]
val = validate_value(param_type, param, val) if val.present?
new_params[param] = val
Expand Down

0 comments on commit 05f35dd

Please sign in to comment.