Commit 4ee545787f67f28bae23097b91df0e55cb8ecf44

Authored by Adhidarma Hadiwinoto
1 parent 4b4a81f4af
Exists in master

perbaikan response yg akan dicatat di mongodb

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

... ... @@ -202,6 +202,13 @@ function callbackReport(requestId, responseCode, msg, rawResponse, dontResendDel
202 202 }
203 203  
204 204 if (!alreadyPending.get(requestId) || responseCode != '68') {
  205 + var responseObject = {
  206 + parsed: {
  207 + MESSAGE: msg
  208 + },
  209 + raw: rawResponse
  210 +
  211 + }
205 212 _callbackReport(requestId, responseCode, msg, null, rawResponse);
206 213 }
207 214 alreadyPending.set(requestId, '68');