mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
create obj with no prototype
This commit is contained in:
@@ -310,7 +310,7 @@ module.exports = function (module) {
|
|||||||
|
|
||||||
const returnData = [];
|
const returnData = [];
|
||||||
let done = false;
|
let done = false;
|
||||||
const seen = {};
|
const seen = Object.create(null);
|
||||||
do {
|
do {
|
||||||
/* eslint-disable no-await-in-loop */
|
/* eslint-disable no-await-in-loop */
|
||||||
const res = await module.client.zscan(params.key, cursor, 'MATCH', params.match, 'COUNT', 5000);
|
const res = await module.client.zscan(params.key, cursor, 'MATCH', params.match, 'COUNT', 5000);
|
||||||
|
|||||||
Reference in New Issue
Block a user