mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 00:09:41 +00:00
fix(groups): default group.privacy='private'. Starting now,
group.privacy is a required field due to certain queries
This commit is contained in:
parent
f736de3497
commit
efb0a3f092
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ var GroupSchema = new Schema({
|
|||
members: [{type: String, ref: 'User'}],
|
||||
invites: [{type: String, ref: 'User'}],
|
||||
type: {type: String, "enum": ['guild', 'party']},
|
||||
privacy: {type: String, "enum": ['private', 'public']},
|
||||
privacy: {type: String, "enum": ['private', 'public'], 'default':'private'},
|
||||
//_v: {type: Number,'default': 0},
|
||||
chat: Array,
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue