mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +01:00
chore: eslint prefer-template
This commit is contained in:
committed by
Julian Lam
parent
4ee0f1459d
commit
707b55b6a5
@@ -35,7 +35,7 @@ require('./merge')(Topics);
|
||||
Topics.events = require('./events');
|
||||
|
||||
Topics.exists = async function (tid) {
|
||||
return await db.exists('topic:' + tid);
|
||||
return await db.exists(`topic:${tid}`);
|
||||
};
|
||||
|
||||
Topics.getTopicsFromSet = async function (set, uid, start, stop) {
|
||||
|
||||
Reference in New Issue
Block a user