Skip to content

Commit

Permalink
remove unneeded second param in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jesselpalmer committed Apr 11, 2024
1 parent 2876ced commit 5325d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import emailValidator from 'node-email-verifier';
// Example with MX record checking
async function validateEmailWithMx(email) {
try {
const isValid = await emailValidator(email, true);
const isValid = await emailValidator(email);
console.log(`Is "${email}" a valid email address with MX checking?`, isValid);
} catch (error) {
console.error('Error validating email with MX checking:', error);
Expand Down

0 comments on commit 5325d43

Please sign in to comment.