Maybe a typo in Email Verification Codes? #1358
-
I am implementing verification token code & saw these 2 lines one after the other: const verificationCode = await generateEmailVerificationCode(userId, email);
await verificationCode(email, verificationCode); Is the 2nd line a mistake? I get this error:
I don't see it in v2 docs. I probably think you've named it wrong by mistake because both have same name haha. Probably can be removed. |
Beta Was this translation helpful? Give feedback.
Answered by
pilcrowonpaper
Jan 27, 2024
Replies: 1 comment 1 reply
-
That should be |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
deadcoder0904
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That should be
sendVerificationCode()
, thanks