Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 3 changed files Side-by-side Diff

... ... @@ -95,7 +95,7 @@ function _topUpRequest(task, isAdvice) {
95 95 logger.info('Got XMLRPC response from partner for', {method: xmlrpcMethod, trx_id: task.trx_id, destination: task.destination, response: value});
96 96 matrix.last_topupRequest_ack = value;
97 97  
98   - const balance = st24.extractBalanceFromMsg(value.MESSAGE, config.balance_pattern) || null;
  98 + const balance = st24.extractBalanceFromMsg(value.MESSAGE, config.partner.balance_pattern || config.balance_pattern) || null;
99 99  
100 100 if (balance) {
101 101 logger.verbose('TOPUPREQUEST: Balance from supplier extracted', {
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.10",
  3 + "version": "2.2.11",
4 4 "lockfileVersion": 1,
5 5 "requires": true,
6 6 "dependencies": {
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.10",
  3 + "version": "2.2.11",
4 4 "description": "Komodo Gateway to ST24 XML-RPC",
5 5 "main": "index.js",
6 6 "scripts": {