From 99ab1877244ced20d52669075a5380e808841e39 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Sun, 26 Jan 2025 08:16:11 +0100 Subject: [PATCH] typo --- src/models/inventoryModels/inventoryModel.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/inventoryModels/inventoryModel.ts b/src/models/inventoryModels/inventoryModel.ts index d3714283..2bb888d2 100644 --- a/src/models/inventoryModels/inventoryModel.ts +++ b/src/models/inventoryModels/inventoryModel.ts @@ -715,7 +715,7 @@ const traitsSchema = new Schema( { _id: false } ); -const detalisSchema = new Schema( +const detailsSchema = new Schema( { Name: String, IsPuppy: Boolean, @@ -731,7 +731,7 @@ const detalisSchema = new Schema( { _id: false } ); -detalisSchema.set("toJSON", { +detailsSchema.set("toJSON", { transform(_doc, returnedObject) { delete returnedObject.__v; @@ -772,7 +772,7 @@ const EquipmentSchema = new Schema( Customization: crewShipCustomizationSchema, RailjackImage: FlavourItemSchema, CrewMembers: crewShipMembersSchema, - Details: detalisSchema + Details: detailsSchema }, { id: false } );