mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
chore: eslint prefer-destructuring
This commit is contained in:
committed by
Julian Lam
parent
8d1462ffd8
commit
23f212a4c0
@@ -606,7 +606,7 @@ DELETE FROM "legacy_zset" z
|
||||
}
|
||||
|
||||
module.getSortedSetScan = async function (params) {
|
||||
let match = params.match;
|
||||
let { match } = params;
|
||||
if (match.startsWith('*')) {
|
||||
match = `%${match.substring(1)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user