Skip to content

Commit

Permalink
Merge pull request #124 from vtex-apps/fix/add-isDisposable-prop-in-a…
Browse files Browse the repository at this point in the history
…ddress

fix: Add isDisposable prop
  • Loading branch information
ArthurTriis1 authored Dec 7, 2023
2 parents 7429754 + 913743d commit d8948cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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]

### Fixed

- Add 'isDisposable' property to create address requests, indicating whether the address is disposable to prevent duplicates.

## [1.37.2] - 2023-11-10

### Fixed
Expand Down
1 change: 1 addition & 0 deletions node/resolvers/Routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ export const Routes = {
address: {
...address,
geoCoordinates: address.geoCoordinates ?? [],
isDisposable: true,
},
clearAddressIfPostalCodeNotFound: false,
})
Expand Down

0 comments on commit d8948cb

Please sign in to comment.