mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-07 00:50:46 +02:00
mongo posting fix
This commit is contained in:
@@ -69,7 +69,7 @@ var async = require('async'),
|
||||
function(postData, next) {
|
||||
db.setObject('post:' + postData.pid, postData, next);
|
||||
},
|
||||
function(result, next) {
|
||||
function(next) {
|
||||
db.sortedSetAdd('posts:pid', timestamp, postData.pid);
|
||||
|
||||
db.incrObjectField('global', 'postCount');
|
||||
|
||||
Reference in New Issue
Block a user