mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
limit free rebirth to once every 45 days
This commit is contained in:
@@ -225,6 +225,7 @@ let schema = new Schema({
|
||||
classSelected: {$type: Boolean, default: false},
|
||||
mathUpdates: Boolean,
|
||||
rebirthEnabled: {$type: Boolean, default: false},
|
||||
lastFreeRebirth: Date,
|
||||
levelDrops: {$type: Schema.Types.Mixed, default: () => {
|
||||
return {};
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user