Commit db380d6467f79bafef36a78c39726d05f3f6c1f6

Authored by Adhidarma Hadiwinoto
1 parent 0e6fd5e929
Exists in master

alreadyPending.del saat topupRequest

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

... ... @@ -55,6 +55,7 @@ function start(options) {
55 55  
56 56 function topupRequest(task) {
57 57 aaa.insertTaskToMongoDb(task);
  58 + alreadyPending.del(task.requestId);
58 59  
59 60 getTaskFromHistory(task, function(err, archivedTask) {
60 61 putTaskToHistory(task);