mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-27 12:34:10 +00:00
add file upload to card create
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user