Node.js based forum software built for the modern web
change parallel to series in flag creation
Barış Soner Uşaklı7f67528280a6
diff --git a/src/flags.js b/src/flags.jsindex f906954318..7bbb5168f8 100644--- a/src/flags.js+++ b/src/flags.js@@ -387,7 +387,7 @@ Flags.create = function (type, id, uid, reason, timestamp, callback) {tasks.push(async.apply(Flags.update, flagId, uid, { state: 'open' }));}- async.parallel(tasks, function (err) {+ async.series(tasks, function (err) {next(err, flagId);});},