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