forked from Yara724/api
fix: recover saved photo uploads and lower car-body description minimum
Read saved document status from maps and plain objects, acknowledge verified document retries without replacing stored images, and preserve upload authorization and resend behavior. Lower the car-body narrative minimum to 30 characters with Persian errors and boundary regression coverage.
This commit is contained in:
@@ -53,7 +53,7 @@ export class FirstPartyFileDto {
|
||||
export class DescriptionDto {
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"Accident description. Optional for THIRD_PARTY; CAR_BODY requires at least 100 non-whitespace characters.",
|
||||
"Accident description. Optional for THIRD_PARTY; CAR_BODY requires at least 30 characters after trimming.",
|
||||
})
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@@ -101,7 +101,7 @@ export class DescriptionDto {
|
||||
export class DescriptionV4Dto {
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"Accident description. Optional for THIRD_PARTY; CAR_BODY requires at least 100 non-whitespace characters.",
|
||||
"Accident description. Optional for THIRD_PARTY; CAR_BODY requires at least 30 characters after trimming.",
|
||||
})
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user