mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
crash fix
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = function(privileges) {
|
||||
privileges.posts.get = function(pids, uid, callback) {
|
||||
if (pids && pids.length > 50) {
|
||||
var e = new Error('too many keys')
|
||||
winston.warn('[TOO_MANY_KEYS] ' + pid.length, e.stack);
|
||||
winston.warn('[TOO_MANY_KEYS] ' + pids.length, e.stack);
|
||||
}
|
||||
async.parallel({
|
||||
manage_content: function(next) {
|
||||
|
||||
Reference in New Issue
Block a user