mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -58,7 +58,7 @@ module.exports = function (Topics) {
|
||||
async function getCidTids(params) {
|
||||
const sets = [];
|
||||
const pinnedSets = [];
|
||||
params.cids.forEach(function (cid) {
|
||||
params.cids.forEach((cid) => {
|
||||
if (params.sort === 'recent') {
|
||||
sets.push(`cid:${cid}:tids`);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user