max 7 ماه پیش
والد
کامیت
8417b15658
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/modules/payment/controller/admin/wallet.ts

+ 1 - 1
src/modules/payment/controller/admin/wallet.ts

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