From 601ef1e83eb10330ca80c6deaf7e3ce534d6a868 Mon Sep 17 00:00:00 2001 From: Beo Hoang Date: Sat, 4 Jul 2020 11:38:49 +0700 Subject: [PATCH] fix: deposit api --- packages/server/src/modules/admin/admin.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/modules/admin/admin.service.ts b/packages/server/src/modules/admin/admin.service.ts index 410590b..c448723 100644 --- a/packages/server/src/modules/admin/admin.service.ts +++ b/packages/server/src/modules/admin/admin.service.ts @@ -124,6 +124,7 @@ export class AdminService { amount: amount, bankType: BankTypeEnum.LOCAL, isDebtPay: false, + isRemitterCharge: false, }); await runner.manager.increment( @@ -146,6 +147,7 @@ export class AdminService { return transaction; } catch (e) { await runner.rollbackTransaction(); + throw e; } finally { await runner.release(); }