mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Small Updates (#10701)
* small updates * fix client unit test * fix uuid validation
This commit is contained in:
@@ -39,7 +39,7 @@ export let schema = new Schema({
|
||||
id: {
|
||||
type: String,
|
||||
default: uuid,
|
||||
validate: [validator.isUUID, 'Invalid uuid.'],
|
||||
validate: [(v) => validator.isUUID(v), 'Invalid uuid.'],
|
||||
// @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