James Allen пре 10 година
родитељ
комит
6ca48523d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/document-updater/app/coffee/UpdateManager.coffee

+ 1 - 1
services/document-updater/app/coffee/UpdateManager.coffee

@@ -39,7 +39,7 @@ module.exports = UpdateManager =
 			return callback(error) if error?
 			if updates.length == 0
 				return callback()
-			async.mapSeries updates,
+			async.eachSeries updates,
 				(update, cb) -> UpdateManager.applyUpdate project_id, doc_id, update, cb
 				callback