|
@@ -45,7 +45,7 @@ export class WalletController extends BaseController {
|
|
const { amount } = params;
|
|
const { amount } = params;
|
|
const customer = await this.customerEntity.findOne({
|
|
const customer = await this.customerEntity.findOne({
|
|
where: {
|
|
where: {
|
|
- merchantId: merchant.id,
|
|
|
|
|
|
+ merchantId: merchant.mchId,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
let { currency, channel } = params;
|
|
let { currency, channel } = params;
|