Skip to content

Commit

Permalink
Add fix for untested conditions_attributes :(
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde committed Dec 21, 2024
1 parent 21b38cd commit 04118ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/oidc/api_key_roles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def redirect_for_deleted
statements_attributes: [[
:effect,
principal: :oidc,
conditions_attributes: %i[operator claim value]
conditions_attributes: [%i[operator claim value]]
]]
}
].freeze
Expand Down

0 comments on commit 04118ed

Please sign in to comment.