From ec0da196d8598e245ff3468b02d34a2902408497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 1 May 2023 14:22:56 -0400 Subject: [PATCH] chore: whopps --- src/controllers/topics.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/topics.js b/src/controllers/topics.js index 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)