Explorar el Código

mapSeries -> eachSeries

James Allen hace 10 años
padre
commit
6ca48523d9
Se han modificado 1 ficheros con 1 adiciones y 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