fixed bug where deleted posts still showed up in teasers

This commit is contained in:
Julian Lam
2013-05-21 14:54:35 -04:00
parent 47d491b266
commit 7c165876f1
2 changed files with 21 additions and 3 deletions

View File

@@ -237,8 +237,8 @@ var express = require('express'),
app.get('/api/:method/:id*', api_method);
app.get('/test', function(req, res) {
topics.get_topic(3, 1, function(data) {
res.send(JSON.stringify(data));
topics.get_latest_undeleted_pid(5, function(pid) {
res.send(pid);
});
});