mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
fixed bug where deleted posts still showed up in teasers
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user