Explorar o código

mapSeries -> eachSeries

James Allen %!s(int64=10) %!d(string=hai) anos
pai
achega
6ca48523d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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