@jetthai/cuora 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.102](https://github.com/jetthai/cuora-module/compare/v1.0.101...v1.0.102) (2022-03-17)
6
+
5
7
  ### [1.0.101](https://github.com/jetthai/cuora-module/compare/v1.0.100...v1.0.101) (2022-03-17)
6
8
 
7
9
  ### [1.0.100](https://github.com/jetthai/cuora-module/compare/v1.0.99...v1.0.100) (2022-03-10)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -289,8 +289,9 @@ export default function (request) {
289
289
  submitWithdraw: async (context, event) => {
290
290
  const { amount, applyerBankCode, applyerAccountNumber, branch, holderName } = event.data
291
291
  const { method } = context.paymentDetail[0]
292
+ const branchTemp = branch === 'BLANK' ? '' : branch
292
293
  return await request.send(
293
- payment.submitWithdrawTransactionVN({ method, amount, applyerBankCode, applyerAccountNumber, branch, holderName })
294
+ payment.submitWithdrawTransactionVN({ method, amount, applyerBankCode, applyerAccountNumber, branch: branchTemp, holderName })
294
295
  )
295
296
  },
296
297
  submitWithdrawFree: async (context, event) => {