pass the original story URL to all comments for notification email

This commit is contained in:
Michael Q Larson
2015-04-07 23:39:52 -07:00
parent 751d25219e
commit 1c7d0b11b6
7 changed files with 29 additions and 66 deletions

View File

@@ -6,6 +6,10 @@ var commentSchema = new mongoose.Schema({
type: String,
required: true
},
originalStoryLink: {
type: String,
default: ''
},
body: {
type: String,
default: ''
@@ -36,4 +40,4 @@ module.exports = mongoose.model('Comment', commentSchema);
type: mongoose.Schema.Types.ObjectId,
ref: 'User'
},
*/
*/