Added email invite limit

This commit is contained in:
TheHollidayInn
2017-04-11 16:36:45 -06:00
committed by Sabe Jones
parent ad0a51167d
commit 8a2e6a98c2
4 changed files with 37 additions and 1 deletions

View File

@@ -550,6 +550,7 @@ let schema = new Schema({
}},
webhooks: [WebhookSchema],
loginIncentives: {type: Number, default: 0},
invitesSent: {type: Number, default: 0},
}, {
strict: true,
minimize: false, // So empty objects are returned