planet-webapp icon indicating copy to clipboard operation
planet-webapp copied to clipboard

Remove the unnecessary API from the address management

Open sunilsabatp opened this issue 9 months ago • 1 comments

Since we are updating the address in the user profile after the user's action (add, edit, delete), we do not need the additional API call to fetch the user addresses. Therefore, remove the updateUserAddresses helper function and any related API endpoint logic.

sunilsabatp avatar Feb 24 '25 05:02 sunilsabatp

Currently only Add/Edit are updating user.addresses, the logic needs to be updated for all actions including

DELETE, SET_PRIMARY, SET_BILLING, UNSET_BILLING

mohitb35 avatar Feb 24 '25 07:02 mohitb35

Has been addressed in this PR

sunilsabatp avatar Jun 20 '25 08:06 sunilsabatp