comment submit time bug fixed

This commit is contained in:
Nathan Leniz
2015-03-08 18:48:20 +09:00
parent f367a0310e
commit de91be44da
4 changed files with 43 additions and 37 deletions

View File

@@ -23,9 +23,9 @@ var commentSchema = new mongoose.Schema({
type: Array,
default: []
},
toplevel: {
type: Boolean,
default: false
commentOn: {
type: Number,
default: Date.now()
}
});