diff --git a/app/controllers/simplified-account/settings/card-types/card-types.controller.js b/app/controllers/simplified-account/settings/card-types/card-types.controller.js index 29da2882c..c8974759c 100644 --- a/app/controllers/simplified-account/settings/card-types/card-types.controller.js +++ b/app/controllers/simplified-account/settings/card-types/card-types.controller.js @@ -35,8 +35,6 @@ async function post (req, res, next) { let selectedCardTypeIds const sanitiseToArray = value => Array.isArray(value) ? value : (value ? [value] : []) const validations = [ - body('debit').customSanitizer(sanitiseToArray), - body('credit').customSanitizer(sanitiseToArray), body() .custom((_, { req }) => { selectedCardTypeIds = sanitiseToArray(req.body.debit).concat(sanitiseToArray(req.body.credit))