Commit 27035d326440e62a53522ad02f68a24cfdd2030e

Authored by Adhidarma Hadiwinoto
1 parent caf71d3d71
Exists in master

partner.topupAdvice

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

... ... @@ -290,7 +290,13 @@ function checkForSameDayDuplicate(task, cb) {
290 290 },
291 291 function() {
292 292 // dupe with same request id
293   - cb(task);
  293 +
  294 + if (partner.topupAdvice) {
  295 + partner.topupAdvice(task);
  296 + } else {
  297 + cb(task);
  298 + }
  299 +
294 300 }
295 301 );
296 302 }