Commit 335dd243825628bc4d202f5142b0b60f95c3b8e4

Authored by Adhidarma Hadiwinoto
1 parent 55014bb9a5
Exists in master

bedakan generated message dengan raw

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

... ... @@ -127,10 +127,10 @@ function _topupRequest(task, pendingOnConnectError) {
127 127 value['RESPONSECODE'] = '68';
128 128 }
129 129  
130   - value['MESSAGE'] = prefixMessageWithSN(value);
  130 + var msg = prefixMessageWithSN(value);
131 131  
132 132 callbackReport(
133   - task.requestId, value['RESPONSECODE'], value['MESSAGE'], null, JSON.stringify({methodName: methodName, response: value})
  133 + task.requestId, value['RESPONSECODE'], msg, null, JSON.stringify({methodName: methodName, response: value})
134 134 );
135 135 });
136 136 }
... ... @@ -179,10 +179,10 @@ function createServer() {
179 179 value['RESPONSECODE'] = '68';
180 180 }
181 181  
182   - value['MESSAGE'] = prefixMessageWithSN(value);
  182 + var msg = prefixMessageWithSN(value);
183 183  
184 184 callbackReport(
185   - value['REQUESTID'], value['RESPONSECODE'], value['MESSAGE'], null, JSON.stringify({methodName: 'topUpReport', msg: value})
  185 + value['REQUESTID'], value['RESPONSECODE'], msg, null, JSON.stringify({methodName: 'topUpReport', msg: value})
186 186 );
187 187 }
188 188