From 04118ed0a3a1e2c5e20f533ece94d4ac4e30d2c6 Mon Sep 17 00:00:00 2001 From: Martin Emde Date: Sat, 21 Dec 2024 15:53:40 -0800 Subject: [PATCH] Add fix for untested conditions_attributes :( --- app/controllers/oidc/api_key_roles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/oidc/api_key_roles_controller.rb b/app/controllers/oidc/api_key_roles_controller.rb index a6e650cc0f0..b0322f5899d 100644 --- a/app/controllers/oidc/api_key_roles_controller.rb +++ b/app/controllers/oidc/api_key_roles_controller.rb @@ -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