-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix typo in events.mdx #126
base: main
Are you sure you want to change the base?
Conversation
@seeekr is attempting to deploy a commit to the teamkeel Team on Vercel. A member of the Team first needs to authorize it. |
oh shoot, it should probably be |
@seeekr well spotted, and yes, you're correct that it's |
@@ -116,7 +116,7 @@ export default VerifyEmail(async (ctx, event) => { | |||
|
|||
case "member.updated": | |||
// Verify their email address if it was changed. | |||
if (!member.emailVerified) { | |||
if (!event.data.emailVerified) { |
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.
if (!event.data.emailVerified) { | |
if (!event.target.data.emailVerified) { |
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.
Please do pop a fix in as per your suggestion
not sure if I'm making the correct suggestion, but the original code cannot possibly work because there is no
member
variable.