From 26756cd6eac30c3a409733f60c550237a6a7aadf Mon Sep 17 00:00:00 2001 From: Rodolfo Bussola <90935861+rbussola@users.noreply.github.com> Date: Tue, 7 Nov 2023 16:09:09 -0300 Subject: [PATCH 1/2] Change to selectedAddresses when updating OrderForm Shipping Data --- node/resolvers/Routes/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/resolvers/Routes/index.ts b/node/resolvers/Routes/index.ts index 339e954..1c4c9b9 100644 --- a/node/resolvers/Routes/index.ts +++ b/node/resolvers/Routes/index.ts @@ -533,10 +533,10 @@ export const Routes = { promises.push( checkout .updateOrderFormShipping(orderFormId, { - address: { + selectedAddresses: [{ ...address, geoCoordinates: address.geoCoordinates ?? [], - }, + }], clearAddressIfPostalCodeNotFound: false, }) .catch((error) => { From 851fedbc197b7a07d613ca35b29a4103bbd07430 Mon Sep 17 00:00:00 2001 From: Rodolfo Bussola <90935861+rbussola@users.noreply.github.com> Date: Tue, 7 Nov 2023 16:13:02 -0300 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1f685c..b435581 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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