mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
50
This commit is contained in:
@@ -40,7 +40,7 @@ helpers.checkKeys = function(keys) {
|
||||
winston.warn('[INVALID_KEYS] ', e.stack);
|
||||
return;
|
||||
}
|
||||
if (keys.length >= 50) {
|
||||
if (keys.length > 50) {
|
||||
var e = new Error('too many keys');
|
||||
winston.warn('[TOO_MANY_KEYS] ' + keys.length + ' ' + keys[0] + ' ' + keys[keys.length - 1] + '\n', e.stack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user