diff --git a/src/controllers/topics.js b/src/controllers/topics.js index 4371228dd1..4f44a05344 100644 --- a/src/controllers/topics.js +++ b/src/controllers/topics.js @@ -122,7 +122,7 @@ topicsController.get = async function getTopic(req, res, callback) { }; function generateQueryString(query) { - let qString = qs.stringify(query); + const qString = qs.stringify(query); return qString.length ? `?${qString}` : ''; }