Merge pull request #10828 from overleaf/em-fix-deleted-projects

Fix project deletion when history id is a string

GitOrigin-RevId: cf60d9b6b7801592e1ff9f9be135f68dfe010ecf
This commit is contained in:
Eric Mc Sween 2022-12-07 15:08:30 -05:00 committed by Copybot
parent 33c8580f7e
commit 2af4b38143

View file

@ -18,7 +18,7 @@ const DeleterDataSchema = new Schema({
deletedProjectReadOnlyToken: { type: String },
deletedProjectLastUpdatedAt: { type: Date },
deletedProjectOverleafId: { type: Number },
deletedProjectOverleafHistoryId: { type: Number },
deletedProjectOverleafHistoryId: { type: Schema.Types.Mixed },
})
const DeletedProjectSchema = new Schema(