Commit c6a955c4bd1e3abea2fc3153b91239fad3d87771

Authored by Adhidarma Hadiwinoto
1 parent a224941f87
Exists in master

buang kode tak perlu

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

... ... @@ -205,16 +205,10 @@ function report(data) {
205 205 return;
206 206 }
207 207  
208   - const task = data.misc.task;
  208 + const task = data.misc.task;
  209 + logger.verbose('Registering resend delay', {trx_id: task.trx_id, destination: task.destination, product: task.product})
  210 + resendDelay.register(task, advice);
209 211  
210   -
211   - if (data.rc && data.rc === '68') {
212   - logger.verbose('Registering resend delay', {trx_id: task.trx_id, destination: task.destination, product: task.product})
213   - resendDelay.register(task, advice);
214   - }
215   - else {
216   -
217   - }
218 212 }
219 213  
220 214 exports.buy = buy;