Skip to content

Node.js based forum software built for the modern web

feat: promisify recent.getData

Barış Soner Uşaklı6f7ab5861e29
diff --git a/src/controllers/recent.js b/src/controllers/recent.js
index a223924c75..2e24641bee 100644
--- a/src/controllers/recent.js
+++ b/src/controllers/recent.js
@@ -91,3 +91,5 @@ async function canPostTopic(uid) {
cids = await privileges.categories.filterCids('topics:create', cids, uid);
return cids.length > 0;
}
+
+require('../promisify')(recentController, ['get']);