mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
lint: fix eslint errors
This commit is contained in:
@@ -44,10 +44,6 @@ controller.get = async function (req, res, next) {
|
||||
* Ideally we would use the existing topicsController.get...
|
||||
* this controller may be a stopgap towards that end goal.
|
||||
*/
|
||||
// const pid = await notes.resolveId(req.uid, req.query.resource);
|
||||
// if (pid !== req.query.resource) {
|
||||
// return helpers.redirect(res, `/topic/remote?resource=${pid}`, true);
|
||||
// }
|
||||
|
||||
const tid = req.params.topic_id;
|
||||
let postIndex = parseInt(req.params.post_index, 10) || 1;
|
||||
|
||||
@@ -18,7 +18,6 @@ const privileges = require('../privileges');
|
||||
const cacheCreate = require('../cache/lru');
|
||||
const helpers = require('./helpers');
|
||||
const api = require('../api');
|
||||
const activitypub = require('../activitypub');
|
||||
|
||||
const controllers = {
|
||||
api: require('../controllers/api'),
|
||||
|
||||
@@ -11,7 +11,6 @@ const meta = require('../meta');
|
||||
const user = require('../user');
|
||||
const categories = require('../categories');
|
||||
const privileges = require('../privileges');
|
||||
const activitypub = require('../activitypub');
|
||||
const social = require('../social');
|
||||
|
||||
const Topics = module.exports;
|
||||
|
||||
Reference in New Issue
Block a user