Compare commits
No commits in common. "master" and "fix/orders-get" have entirely different histories.
master
...
fix/orders
@ -11,9 +11,6 @@ const schema = new Schema({
|
||||
schema.set('toJSON', {
|
||||
virtuals: true,
|
||||
versionKey: false,
|
||||
transform(_doc, ret) {
|
||||
delete ret._id;
|
||||
}
|
||||
})
|
||||
|
||||
schema.virtual('id').get(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user