WIP post diffs

This commit is contained in:
Julian Lam
2018-02-16 16:41:06 -05:00
parent 55788382ea
commit 501fc3cee9
6 changed files with 72 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ require('./posts/tools')(Posts);
require('./posts/votes')(Posts);
require('./posts/bookmarks')(Posts);
require('./posts/queue')(Posts);
require('./posts/diffs')(Posts);
Posts.exists = function (pid, callback) {
db.isSortedSetMember('posts:pid', pid, callback);