Se corrigió envio de correos y creacion de controller servicio

This commit is contained in:
2025-10-21 14:54:31 -06:00
parent 86b0096350
commit de24bdeec0
11 changed files with 709 additions and 432 deletions
+5 -3
View File
@@ -4,6 +4,7 @@ import {
IsOptional,
IsISO8601,
ValidateNested,
IsDate,
} from 'class-validator';
import { Type } from 'class-transformer';
@@ -33,10 +34,11 @@ export class SendMailDto {
text: string;
@IsString()
html: string;
@IsOptional()
html?: string;
@IsISO8601()
fecha_recibido: string;
@IsDate()
fecha_recibido: Date;
@IsOptional()
@IsArray()