update price

This commit is contained in:
2026-06-07 15:31:03 +03:30
parent e915af91d8
commit 4aba85ab4e
@@ -34,7 +34,10 @@ export class DesignRequestService {
if (count <= 30) { if (count <= 30) {
return +this.configService.getOrThrow<number>('DESIGN_PRICE_10_TO_30'); return +this.configService.getOrThrow<number>('DESIGN_PRICE_10_TO_30');
} }
return +this.configService.getOrThrow<number>('DESIGN_PRICE_ABOVE_30'); if (count <= 70) {
return +this.configService.getOrThrow<number>('DESIGN_PRICE_30_TO_70');
}
return +this.configService.getOrThrow<number>('DESIGN_PRICE_ABOVE_70');
} }
async createDesignRequest(dto: CreateDesignRequestDto, businessId: string) { async createDesignRequest(dto: CreateDesignRequestDto, businessId: string) {