fix(api): update contentField name DTO

This commit is contained in:
yassinedorbozgithub 2025-06-02 10:40:06 +01:00
parent a12633df4b
commit 420f81d853

View File

@ -14,7 +14,6 @@ import {
IsNotEmpty,
IsOptional,
IsString,
Matches,
Validate,
ValidateNested,
} from 'class-validator';
@ -27,7 +26,6 @@ import { ValidateRequiredFields } from '../validators/validate-required-fields.v
export class ContentField {
@IsString()
@IsNotEmpty()
@Matches(/^[a-z][a-z_0-9]*$/)
name: string;
@IsString()