async.each for get_userslugs_by_uids

This commit is contained in:
Baris Soner Usakli
2013-07-05 18:19:55 -04:00
parent 884a259909
commit 1c855ce502
2 changed files with 24 additions and 5 deletions

View File

@@ -320,11 +320,17 @@ var express = require('express'),
});
});
app.all('/test', function(req, res) {
app.get('/test', function(req, res) {
categories.getCategoryById(1,1, function(data) {
console.log('derp');
user.get_userslugs_by_uids([1,2], function(data) {
res.send(data);
},1);
});
/* categories.getCategoryById(1,1, function(data) {
res.send(data);
},1);*/
});