pass the original story URL to all comments for notification email
This commit is contained in:
@@ -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'
|
||||
},
|
||||
*/
|
||||
*/
|
||||
|
Reference in New Issue
Block a user