From ee622197c1ccb70aff8969bbd4eb5ae9695b7127 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 21 Apr 2025 13:54:37 -0600 Subject: [PATCH] comentar token y sistema --- src/mail/mail.controller.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'); - } + } */