fix: address some client warnings about malformed inventory.php response #840

Merged
Sainan merged 5 commits from inventory-fix into main 2025-01-24 05:17:53 -08:00
Showing only changes of commit 9bd81a8e22 - Show all commits

View File

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