diff --git a/src/mail/mail.controller.ts b/src/mail/mail.controller.ts index 2cf3598..edb15f0 100644 --- a/src/mail/mail.controller.ts +++ b/src/mail/mail.controller.ts @@ -39,15 +39,15 @@ export class MailController { // debe de existir un modulo para crear contraseñas para las apis y administrar esas contraseñas - if (!headers.token) { + /* if (!headers.token) { throw new UnauthorizedException('Header "Password" es requerido'); - } + } */ - const sistem = await this.sistemaRepository.findOne({ where: { token: headers.token } }); + /* const sistem = await this.sistemaRepository.findOne({ where: { token: headers.token } }); if (!sistem) { throw new UnauthorizedException('Password incorrecto'); - } + } */