Commit ac60b51f7ed2504380874cdeaa4ba635d64c28df

Authored by Adhidarma Hadiwinoto
1 parent d077430dfb
Exists in master

perbaikan mongo

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

... ... @@ -102,6 +102,7 @@ function insertTaskToMongoDb(task) {
102 102 mongodb.collection(config.mongodb.collection).updateOne(
103 103 {requestId: task.requestId},
104 104 {
  105 + lastResponse: {},
105 106 $push: {suppliers: config.globals.gateway_name}
106 107 }
107 108