error tonto

This commit is contained in:
2022-07-11 02:44:09 -05:00
parent 482c8550d1
commit c94fded79e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export class UpdateInstitucionDto {
@IsEmail()
@IsOptional()
correo?: number;
correo?: string;
@IsNumber()
@IsOptional()
+1 -1
View File
@@ -19,7 +19,7 @@ export class Institucion {
@Column({ type: String, nullable: true, length: 4 })
clave: string;
@Column({ type: String, nullable: false, length: 60, default: '' })
@Column({ type: String, nullable: true, length: 60, default: '' })
correo: string;
@Column({ type: Number, nullable: false, default: 7 })