From 553d9d8a8ca4cbd7bc1f6f6c036862738c96c1c3 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Mon, 4 Jul 2022 22:36:24 -0700 Subject: [PATCH] remove deprecated data --- structures/inventory.js | 1 - 1 file changed, 1 deletion(-) diff --git a/structures/inventory.js b/structures/inventory.js index 3c372ab..bca3664 100644 --- a/structures/inventory.js +++ b/structures/inventory.js @@ -25,7 +25,6 @@ inventorySchema.methods.createInventory = function (userID) { } this.inventory.items.push(walletData); this.inventory.createdAt = new Date(); - this.inventory.updatedAt = this.inventory.createdAt; }; inventorySchema.methods.addItem = function (item) {