Node.js based forum software built for the modern web
possible fix for https://github.com/akhoury/nodebb-plugin-import/issues/173
barisusakli5f17e327cef5
diff --git a/src/topics/posts.js b/src/topics/posts.jsindex 64f9fd1392..f40b0a5e0a 100644--- a/src/topics/posts.js+++ b/src/topics/posts.js@@ -15,7 +15,7 @@ var async = require('async'),module.exports = function(Topics) {Topics.onNewPostMade = function(postData, callback) {- async.parallel([+ async.series([function(next) {Topics.increasePostCount(postData.tid, next);},diff --git a/src/user/posts.js b/src/user/posts.jsindex 97be04513e..e9f64ef073 100644--- a/src/user/posts.js+++ b/src/user/posts.js@@ -63,7 +63,7 @@ module.exports = function(User) {};User.onNewPostMade = function(postData, callback) {- async.parallel([+ async.series([function(next) {User.addPostIdToUser(postData.uid, postData.pid, postData.timestamp, next);},