mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
finished up group list and group details pages - closed #1563
This commit is contained in:
@@ -54,10 +54,9 @@ module.exports = function(app, middleware, controllers) {
|
||||
});
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
var db = require('../database');
|
||||
db.getSortedSetUnion(['uid:1:posts', 'uid:3:posts'], function(err, pids) {
|
||||
console.log(err);
|
||||
res.json(pids);
|
||||
var a = require('../groups');
|
||||
a.getLatestMemberPosts('mcg', 5, function() {
|
||||
res.json(arguments);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user