Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/partner.js
... | ... | @@ -146,7 +146,7 @@ function _topUpInquiry(task) { |
146 | 146 | |
147 | 147 | report({ |
148 | 148 | trx_id: task.trx_id, |
149 | - rc: komodoRc(value[RESPONSECODE_TAG]) || '40', | |
149 | + rc: (value[RESPONSECODE_TAG] && (komodoRc(value[RESPONSECODE_TAG]) || '40')) || '68', | |
150 | 150 | message: 'topUpInquiry: ' + stringify(value), |
151 | 151 | sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), |
152 | 152 | amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern), |
package-lock.json