In changeLineItemPrice method, in case of the error, cart items were assinged to non-existent initialItems. In fact, resotring is not neede at all here, as there were not changes with the cart items before the API service call. Changes are handled by the success callback.
In
changeLineItemPrice
method, in case of the error, cart items were assinged to non-existentinitialItems
. In fact, resotring is not neede at all here, as there were not changes with the cart items before the API service call. Changes are handled by the success callback.