lint
This commit is contained in:
@@ -11,4 +11,3 @@ export class ChangeStatusDto {
|
||||
})
|
||||
status: ReviewStatus;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,20 +21,20 @@ export class UpdateReviewDto {
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@IsEnum(PositivePoint, { each: true })
|
||||
@ApiPropertyOptional({
|
||||
description: 'Positive points about the food',
|
||||
@ApiPropertyOptional({
|
||||
description: 'Positive points about the food',
|
||||
enum: PositivePoint,
|
||||
isArray: true
|
||||
isArray: true,
|
||||
})
|
||||
positivePoints?: PositivePoint[];
|
||||
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@IsEnum(NegativePoint, { each: true })
|
||||
@ApiPropertyOptional({
|
||||
description: 'Negative points about the food',
|
||||
@ApiPropertyOptional({
|
||||
description: 'Negative points about the food',
|
||||
enum: NegativePoint,
|
||||
isArray: true
|
||||
isArray: true,
|
||||
})
|
||||
negativePoints?: NegativePoint[];
|
||||
|
||||
@@ -43,4 +43,3 @@ export class UpdateReviewDto {
|
||||
@ApiPropertyOptional({ description: 'Review status (admin only)', enum: ReviewStatus })
|
||||
status?: ReviewStatus;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user