fix: LastInventorySync
This commit is contained in:
parent
1fe8351dca
commit
b635147020
@ -888,7 +888,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
|||||||
ChallengesFixVersion: Number,
|
ChallengesFixVersion: Number,
|
||||||
PlayedParkourTutorial: Boolean,
|
PlayedParkourTutorial: Boolean,
|
||||||
SubscribedToEmailsPersonalized: Number,
|
SubscribedToEmailsPersonalized: Number,
|
||||||
LastInventorySync: Schema.Types.Mixed,
|
LastInventorySync: Schema.Types.ObjectId,
|
||||||
ActiveLandscapeTraps: [Schema.Types.Mixed],
|
ActiveLandscapeTraps: [Schema.Types.Mixed],
|
||||||
RepVotes: [Schema.Types.Mixed],
|
RepVotes: [Schema.Types.Mixed],
|
||||||
LeagueTickets: [Schema.Types.Mixed],
|
LeagueTickets: [Schema.Types.Mixed],
|
||||||
@ -914,7 +914,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
|||||||
//Grustag three
|
//Grustag three
|
||||||
DeathSquadable: Boolean
|
DeathSquadable: Boolean
|
||||||
},
|
},
|
||||||
{ timestamps: { createdAt: "Created", updatedAt: "LastInventorySync" } }
|
{ timestamps: { createdAt: "Created" } }
|
||||||
);
|
);
|
||||||
|
|
||||||
inventorySchema.set("toJSON", {
|
inventorySchema.set("toJSON", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user