Compare commits

..

No commits in common. "master" and "fix/orders-get" have entirely different histories.

View File

@ -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 () {