mirror of
https://github.com/danog/WarehouseLibrary.git
synced 2024-11-30 04:29:11 +01:00
bugfix
This commit is contained in:
parent
56c670ea4b
commit
38c7664c0b
@ -76,7 +76,9 @@ public class Client {
|
|||||||
|
|
||||||
ResponsePayload response = new ResponsePayload(in);
|
ResponsePayload response = new ResponsePayload(in);
|
||||||
|
|
||||||
this.allTimeTotal += this.cart.getPriceTotal();
|
if (response.getResponseCode() == 200) {
|
||||||
|
this.allTimeTotal += this.cart.getPriceTotal();
|
||||||
|
}
|
||||||
this.warehouse.rebuild(response.getPayload());
|
this.warehouse.rebuild(response.getPayload());
|
||||||
this.cart.rebuild();
|
this.cart.rebuild();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user