Pranav Pandey Pranav Pandey - 8 months ago 103
Node.js Question

Why is ToLowerCase() giving a type error in Express js / Node.js? gives an error in Expressjs. Do we need to require something to use it?


If the email from the body is a string you can use the method toLowerCase();. You have a capital letter at the beginning.