-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main isn't required when updating an address #695
Conversation
Wondering whether that field is required at all in that endpoint 🤔. main = result.value.id === userData.address && userData.address === addressData.address |
What do you mean exactly? You'd want to be able to set main: true in the update address endpoint right? As far as I know it wasn't required before. Since I can only set it to true. It makes it impossible to update an address without making it the main address. |
Yeah it doesn't need to be required indeed. I think I incorrectly analyzed the endpoint before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge the change right now. We can always do other changes with future PRs.
Otherwise how do I set an address as the main one? |
What about lines 1051 - 1063? IF I understand correctly then the But I guess actually having a field for |
Why? If I have a non-main alias I want to change to another address, I don't nessecarily want it to become my new main address. This is an endpoint for updating an existing address. |
And what if I had an existing alias that I wanted to make my main address? How could that be derived? Sorry if I'm completely misunderstanding what you're saying |
Right. It seems we need |
Yeah exactly haha. Phew, I thought I was really missing something for a second there |
Yeah I suppose my brain was actively ignoring the last |
No description provided.