modulo endpoints restringidos a usuario

This commit is contained in:
xXpuma99Xx
2022-08-01 01:58:47 -05:00
parent aaca77af2a
commit 38183be1f8
5 changed files with 59 additions and 42 deletions
+1 -4
View File
@@ -1,9 +1,6 @@
import { IsInt, IsNotEmpty, IsString, MaxLength } from 'class-validator';
import { IsNotEmpty, IsString, MaxLength } from 'class-validator';
export class CreateModuloDto {
@IsInt()
id_institucion: number;
@IsString()
@IsNotEmpty()
@MaxLength(30)