From 79ca4c50f6a2964a167aaae624fbf38f29570edf Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Tue, 21 Nov 2023 15:50:19 +0100 Subject: [PATCH] Fix typo sending the response status to the component --- admin/app/controllers/solidus_admin/addresses_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/app/controllers/solidus_admin/addresses_controller.rb b/admin/app/controllers/solidus_admin/addresses_controller.rb index f2a90532343..65b2d5bcba3 100644 --- a/admin/app/controllers/solidus_admin/addresses_controller.rb +++ b/admin/app/controllers/solidus_admin/addresses_controller.rb @@ -37,8 +37,7 @@ def update user: @order.user, address: @order.send("#{address_type}_address"), type: address_type, - status: :unprocessable_entity, - ) + ), status: :unprocessable_entity end end end