Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
update totlas call in CartUpdateCustomer
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Oct 27, 2022
1 parent c9aa4b5 commit 43a3e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StoreApi/Routes/V1/CartUpdateCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected function get_route_post_response( \WP_REST_Request $request ) {

$customer->save();

$this->calculate_totals();
$this->cart_controller->calculate_totals();

return rest_ensure_response( $this->schema->get_item_response( $cart ) );
}
Expand Down

0 comments on commit 43a3e8d

Please sign in to comment.