Skip to content

Conversation

@sethidden
Copy link
Contributor

user addresses are returned by the backend with addressId being of type number
but for some reason we were looking for them using the addressId casted
to string, so they were never found.

userShippingGetters.getAddress matches criteria based on strict type
checking === so that's why the eg. addressId String(131) did not match Number(131)

M2-755

user addresses are returned by the backend with addressId being of type `number`
but for some reason we were looking for them using the addressId casted
to `string`, so they were never found.

userShippingGetters.getAddress matches criteria based on strict type
checking `===` so that's why the eg. addressId String(131) did not match Number(131)

M2-755
@Frodigo Frodigo added this to the 1.0.0-rc.10 milestone Jun 24, 2022
@sethidden sethidden merged commit 61d2c2e into develop Jun 24, 2022
@sethidden sethidden deleted the M2-755 branch June 24, 2022 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants