Node.js based forum software built for the modern web
chore: whopps
Barış Soner Uşaklıec0da196d859
diff --git a/src/controllers/topics.js b/src/controllers/topics.jsindex 4efbd29b6f..33877ba11a 100644--- a/src/controllers/topics.js+++ b/src/controllers/topics.js@@ -22,7 +22,6 @@ const upload_url = nconf.get('upload_url');topicsController.get = async function getTopic(req, res, next) {const tid = req.params.topic_id;- throw new Error('db connection not found');if ((req.params.post_index && !utils.isNumber(req.params.post_index) && req.params.post_index !== 'unread') ||!utils.isNumber(tid)