allowing topic, post, and user creation to specify a timestamp for insertion into the past

This commit is contained in:
Julian Lam
2015-05-15 09:47:39 -04:00
parent 30a9b66b31
commit fc1b0c8d24
4 changed files with 12 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ var async = require('async'),
module.exports = function(Posts) {
Posts.create = function(data, callback) {
// This is an internal method, consider using Topics.reply instead
var uid = data.uid,
tid = data.tid,
content = data.content.toString(),