clarify all "Invalid uuid" messages by making each unique

This commit is contained in:
Alys
2020-01-29 15:49:55 +10:00
parent 02d6b77a03
commit 82a5bc236f
9 changed files with 23 additions and 23 deletions

View File

@@ -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,