remove unused
This commit is contained in:
parent
305b43a781
commit
e86ac26334
@ -144,7 +144,6 @@ const FlavourItemSchema = new Schema({
|
|||||||
|
|
||||||
FlavourItemSchema.set("toJSON", {
|
FlavourItemSchema.set("toJSON", {
|
||||||
transform(_document, returnedObject) {
|
transform(_document, returnedObject) {
|
||||||
returnedObject.ItemType;
|
|
||||||
delete returnedObject._id;
|
delete returnedObject._id;
|
||||||
delete returnedObject.__v;
|
delete returnedObject.__v;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user