mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 03:34:14 +00:00
re-enable notifications validation
This commit is contained in:
parent
c00a1d74f9
commit
343f276705
1 changed files with 2 additions and 6 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue