diff --git a/server/models/Notification.js b/server/models/Notification.js index 8b0609d..d762055 100644 --- a/server/models/Notification.js +++ b/server/models/Notification.js @@ -13,7 +13,7 @@ const notificationSchema = new mongoose.Schema({ }, type: { type: String, - enum: ['comment', 'upvote', 'downvote', 'accepted'], + enum: ['comment', 'upvote', 'downvote', 'accepted', 'answer'], required: true }, questionId: {