mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
do not give _id to purchased.plan
This commit is contained in:
parent
b8f57a74d0
commit
8f38ce3424
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ export let schema = new mongoose.Schema({
|
|||
schema.plugin(baseModel, {
|
||||
noSet: ['_id'],
|
||||
timestamps: false,
|
||||
_id: false,
|
||||
});
|
||||
|
||||
export let model = mongoose.model('SubscriptionPlan', schema);
|
||||
|
|
|
|||
Loading…
Reference in a new issue