text: const { celebrate, Joi, Segments } = require('celebrate');
  
  module.exports = celebrate({
    [Segments.BODY]: Joi.object().keys({
      email: Joi.string().email({ minDomainSegments: 1 }).required(),
    }),
  });
  