fix: minor

This commit is contained in:
Mohamed Marrouchi
2025-01-15 19:05:28 +01:00
parent bdf1763503
commit 0b4a1085ec
10 changed files with 44 additions and 57 deletions

View File

@@ -132,5 +132,6 @@ export class AttachmentContextParamDto {
})
@IsString()
@IsIn(Object.values(AttachmentContext))
context?: TAttachmentContext;
@IsNotEmpty()
context: TAttachmentContext;
}