mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
started #961, first pass
This commit is contained in:
@@ -74,13 +74,9 @@ var DebugRoute = function(app) {
|
||||
});
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
|
||||
var db = require('./../database');
|
||||
|
||||
db.getSortedSetRevRange('topics:recent', 0 , -1, function(err, tids) {
|
||||
res.json(tids);
|
||||
});
|
||||
|
||||
// categories.getModerators(1, function(err, mods) {
|
||||
// res.json(mods);
|
||||
// })
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user