Golang emailpassword recipe change email RequestBody struct
trivialkettle opened this issue · comments
trivialkettle commented
Hi
at https://supertokens.com/docs/emailpassword/common-customizations/change-email-post-login
The struct
type RequestBody struct {
email string
}
Should have uppercase member
type RequestBody struct {
Email string
}
to make the json decoding working
Rishabh Poddar commented
Thanks for this! We will fix this in the next docs update (will be out in a few days).
Abhishek Kumar Kushwaha commented
Rishabh Poddar commented
Hey @Abhicodeitout sorry, but we have already made this change in our next major release. So i will have to close your PR.
Abhishek Kumar Kushwaha commented
Ohk
Rishabh Poddar commented
This has now been fixed in the docs.