Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to selectedAddresses when updating OrderForm Shipping Data #119

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Change to use selectedAddresses field when updating OrderForm Shipping Data

## [1.37.0] - 2023-11-06

### Added
Expand Down
4 changes: 2 additions & 2 deletions node/resolvers/Routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,10 @@
promises.push(
checkout
.updateOrderFormShipping(orderFormId, {
address: {
selectedAddresses: [{

Check failure on line 536 in node/resolvers/Routes/index.ts

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `⏎··············`
...address,

Check failure on line 537 in node/resolvers/Routes/index.ts

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `··`
geoCoordinates: address.geoCoordinates ?? [],

Check failure on line 538 in node/resolvers/Routes/index.ts

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `··`
},
}],

Check failure on line 539 in node/resolvers/Routes/index.ts

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Replace `}` with `··},⏎············`
clearAddressIfPostalCodeNotFound: false,
})
.catch((error) => {
Expand Down
Loading