mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
clarify all "Invalid uuid" messages by making each unique
This commit is contained in:
@@ -59,7 +59,7 @@ export const schema = new Schema({
|
||||
id: {
|
||||
$type: String,
|
||||
default: uuid,
|
||||
validate: [v => validator.isUUID(v), 'Invalid 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,
|
||||
|
||||
Reference in New Issue
Block a user