Pranav Pandey Pranav Pandey - 2 months ago 43x
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.