mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
chore: eslint prefer-template
This commit is contained in:
committed by
Julian Lam
parent
4ee0f1459d
commit
707b55b6a5
@@ -120,7 +120,7 @@ module.exports = function (Topics) {
|
||||
|
||||
do {
|
||||
/* eslint-disable no-await-in-loop */
|
||||
let pids = await db.getSortedSetRevRange('tid:' + postData.tid + ':posts', start, stop);
|
||||
let pids = await db.getSortedSetRevRange(`tid:${postData.tid}:posts`, start, stop);
|
||||
if (!pids.length) {
|
||||
checkedAllReplies = true;
|
||||
const mainPid = await Topics.getTopicField(postData.tid, 'mainPid');
|
||||
|
||||
Reference in New Issue
Block a user