fix: remove normalizeEmail function

This commit is contained in:
a.nasouf
2024-02-10 19:59:12 +02:00
parent f7f77b12c9
commit 17dbe9713b

View File

@@ -153,7 +153,6 @@ export default class ContactsController extends BaseController {
check('email')
.optional({ nullable: true })
.isString()
.normalizeEmail({ gmail_remove_dots: false })
.isEmail()
.isLength({ max: DATATYPES_LENGTH.STRING }),
check('website')