supertokens / docs

SuperTokens documentation
39 stars 66 forks source link

Golang emailpassword recipe change email RequestBody struct #705

Closed trivialkettle closed 10 months ago

trivialkettle commented 10 months ago

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

rishabhpoddar commented 10 months ago

Thanks for this! We will fix this in the next docs update (will be out in a few days).

Abhicodeitout commented 10 months ago

@rishabhpoddar https://github.com/supertokens/docs/pull/708

rishabhpoddar commented 10 months ago

Hey @Abhicodeitout sorry, but we have already made this change in our next major release. So i will have to close your PR.

Abhicodeitout commented 10 months ago

Ohk

rishabhpoddar commented 10 months ago

This has now been fixed in the docs.