- fix getting the product that only active
This commit is contained in:
@@ -333,7 +333,7 @@ export class TransactionService {
|
||||
);
|
||||
|
||||
//GET PRODUCT
|
||||
const product = await this.productService.findOne(
|
||||
const product = await this.productService.findOneActive(
|
||||
orderTransactionDto.productCode,
|
||||
'prepaid'
|
||||
);
|
||||
@@ -484,7 +484,7 @@ export class TransactionService {
|
||||
);
|
||||
|
||||
//GET PRODUCT AND PRICE
|
||||
const product = await this.productService.findOne(
|
||||
const product = await this.productService.findOneActive(
|
||||
orderTransactionDto.productCode,
|
||||
'prepaid',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user