disable updatedAt timestamp

This commit is contained in:
Sainan 2025-01-21 20:00:00 +01:00
parent c95a847181
commit 9bd81a8e22

View File

@ -1141,7 +1141,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
DialogueHistory: dialogueHistorySchema
},
{ timestamps: { createdAt: "Created" } }
{ timestamps: { createdAt: "Created", updatedAt: false } }
);
inventorySchema.set("toJSON", {