merging from stash

This commit is contained in:
Julian Lam
2013-05-06 21:15:53 -04:00
parent 97c1819dc4
commit d7c5a3c150
4 changed files with 32 additions and 7 deletions

View File

@@ -356,8 +356,8 @@ passport.deserializeUser(function(uid, done) {
});
app.get('/test', function(req, res) {
global.modules.posts.get(function(data) {
res.send('<pre>' + JSON.stringify(data, null, 4) + '</pre>');
global.modules.posts.create(2, 2, 'test', function(pid) {
res.send('<pre>' + pid + '</pre>');
}, 1, 1);
});
}(WebServer));