diff --git a/src/modules/orders/DTO/food_ordered.dto.ts b/src/modules/orders/DTO/food_ordered.dto.ts index 16382b0..6b7d238 100644 --- a/src/modules/orders/DTO/food_ordered.dto.ts +++ b/src/modules/orders/DTO/food_ordered.dto.ts @@ -25,9 +25,9 @@ class ModsIngredient { @IsNotEmpty() ingredient: string; - @IsNumber() - @IsNotEmpty() - suppPrice: number; + @IsOptional() + @IsString() + suppPrice?: string; } export class FoodOrderedDto {