Skip to content

Commit

Permalink
fix(core): Do not modify billing address when shipping address changed
Browse files Browse the repository at this point in the history
Relates to #688
  • Loading branch information
michaelbromley committed Feb 10, 2021
1 parent 61e9f83 commit 7e9a709
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class OrderModifier {
if (input.updateBillingAddress) {
order.billingAddress = {
...order.billingAddress,
...input.updateShippingAddress,
...input.updateBillingAddress,
};
if (input.updateBillingAddress.countryCode) {
const country = await this.countryService.findOneByCode(
Expand Down

0 comments on commit 7e9a709

Please sign in to comment.