update price
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user