remove deprecated data
This commit is contained in:
1 file changed
-1
@@ -25,7 +25,6 @@ inventorySchema.methods.createInventory = function (userID) {
|
|||||||
}
|
}
|
||||||
this.inventory.items.push(walletData);
|
this.inventory.items.push(walletData);
|
||||||
this.inventory.createdAt = new Date();
|
this.inventory.createdAt = new Date();
|
||||||
this.inventory.updatedAt = this.inventory.createdAt;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inventorySchema.methods.addItem = function (item) {
|
inventorySchema.methods.addItem = function (item) {
|
||||||
|
|||||||
Reference in new issue
Block a user