fix: Remove references to "privacyAccepted" and "privacy_accepted" from contactController and contactRoutes

This commit is contained in:
2025-08-26 11:48:04 -05:00
parent 8c3c574ddc
commit efc045ede4
2 changed files with 2 additions and 9 deletions

View File

@@ -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);