Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 3 changed files Side-by-side Diff

... ... @@ -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),
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.2",
  3 + "version": "2.2.3",
4 4 "lockfileVersion": 1,
5 5 "requires": true,
6 6 "dependencies": {
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.2",
  3 + "version": "2.2.3",
4 4 "description": "Komodo Gateway to ST24 XML-RPC",
5 5 "main": "index.js",
6 6 "scripts": {