mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: remove normalizeEmail function
This commit is contained in:
@@ -153,7 +153,6 @@ export default class ContactsController extends BaseController {
|
|||||||
check('email')
|
check('email')
|
||||||
.optional({ nullable: true })
|
.optional({ nullable: true })
|
||||||
.isString()
|
.isString()
|
||||||
.normalizeEmail({ gmail_remove_dots: false })
|
|
||||||
.isEmail()
|
.isEmail()
|
||||||
.isLength({ max: DATATYPES_LENGTH.STRING }),
|
.isLength({ max: DATATYPES_LENGTH.STRING }),
|
||||||
check('website')
|
check('website')
|
||||||
|
|||||||
Reference in New Issue
Block a user