Delegate order updater method

This commit is contained in:
Matt-Yorkley
2023-06-05 18:59:32 +01:00
parent 8a27dd84fe
commit 3dd4e7ef03
7 changed files with 9 additions and 9 deletions

View File

@@ -172,7 +172,7 @@ class SplitCheckoutController < ::BaseController
@order.select_shipping_method(params[:shipping_method_id])
@order.update(order_params)
@order.updater.update_totals_and_states
@order.update_totals_and_states
validate_current_step!