diff --git a/website/server/models/userNotification.js b/website/server/models/userNotification.js index cbadd05a3a..d5d160d255 100644 --- a/website/server/models/userNotification.js +++ b/website/server/models/userNotification.js @@ -63,15 +63,11 @@ export const schema = new Schema({ $type: String, default: uuid, validate: [v => validator.isUUID(v), 'Invalid uuid for userNotification.'], - // @TODO: Add these back once we figure out the issue with notifications - // See Fix for https://github.com/HabitRPG/habitica/issues/9923 - // required: true, + required: true, }, type: { $type: String, - // @TODO: Add these back once we figure out the issue with notifications - // See Fix for https://github.com/HabitRPG/habitica/issues/9923 - // required: true, + required: true, enum: NOTIFICATION_TYPES, }, data: {