fix: Remove references to "privacyAccepted" and "privacy_accepted" from contactController and contactRoutes
This commit is contained in:
@@ -24,8 +24,6 @@ module.exports = (contactController, securityMw) => {
|
||||
body('contactMethod')
|
||||
.notEmpty().withMessage('Contact method is required.')
|
||||
.isIn(['email', 'phone']).withMessage('Contact method must be email or phone.'),
|
||||
body('privacyAccepted')
|
||||
.isBoolean().withMessage('Privacy acceptance must be true or false.'),
|
||||
],
|
||||
(req, res, next) => {
|
||||
const errors = validationResult(req);
|
||||
|
Reference in New Issue
Block a user