fix(medusa): keep country_code when partially updating cart addresses (#2683)

**What**
- Fixes a bug where `country_code` was dropped when partially updating a shipping or billing address on a cart.
This commit is contained in:
Kasper Fabricius Kristensen
2022-12-12 15:03:54 +01:00
committed by GitHub
parent d68e81fb3d
commit 33aa3edb80
5 changed files with 51 additions and 10 deletions

View File

@@ -2415,7 +2415,7 @@ Object {
"address_2": null,
"city": "ville la something",
"company": null,
"country_code": null,
"country_code": "us",
"created_at": Any<Date>,
"customer_id": null,
"deleted_at": null,
@@ -2476,4 +2476,4 @@ Object {
"tracking_links": Array [],
"tracking_number": "",
}
`;
`;