add file upload to card create

This commit is contained in:
andres
2023-07-16 14:35:23 +02:00
parent cde1d9fd02
commit f2437db3b7
6 changed files with 107 additions and 20 deletions

View File

@@ -8,11 +8,11 @@ export class CreateCardDto {
answer: string
@IsOptional()
@Length(3, 500)
@Length(0, 0)
questionImg?: string
@IsOptional()
@Length(3, 500)
@Length(0, 0)
answerImg?: string
@IsOptional()