Se corrigió envio de correos y creacion de controller servicio
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user