mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix(stable): default to empty string for current animals
This commit is contained in:
parent
5300de834f
commit
2e904dcda0
1 changed files with 2 additions and 2 deletions
|
|
@ -381,7 +381,7 @@ export const UserSchema = new Schema({
|
|||
$type: Schema.Types.Mixed,
|
||||
default: () => ({}),
|
||||
},
|
||||
currentPet: String, // Cactus-Desert
|
||||
currentPet: { $type: String, default: '' }, // Cactus-Desert
|
||||
|
||||
// eggs: {
|
||||
// 'PandaCub': 0, // 0 indicates "doesn't own"
|
||||
|
|
@ -419,7 +419,7 @@ export const UserSchema = new Schema({
|
|||
$type: Schema.Types.Mixed,
|
||||
default: () => ({}),
|
||||
},
|
||||
currentMount: String,
|
||||
currentMount: { $type: String, default: '' }, // Cactus-Desert
|
||||
|
||||
// Quests: {
|
||||
// 'boss_0': 0, // 0 indicates "doesn't own"
|
||||
|
|
|
|||
Loading…
Reference in a new issue