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) {
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) {
@@ -79,7 +82,7 @@ export class DesignRequestService {
),
);
invoiceData = data.data.invoice
} catch (error: unknown) {
} catch (error: unknown) {
this.logger.error(
`Error create invoice: ${error instanceof Error ? error.message : 'Unknown error'}`,
);