diff --git a/api/src/planDeTransport/pointDeRassemblement/import/pointDeRassemblementImportService.ts b/api/src/planDeTransport/pointDeRassemblement/import/pointDeRassemblementImportService.ts index 97f93b4cfd..a5a9c6e816 100644 --- a/api/src/planDeTransport/pointDeRassemblement/import/pointDeRassemblementImportService.ts +++ b/api/src/planDeTransport/pointDeRassemblement/import/pointDeRassemblementImportService.ts @@ -63,7 +63,7 @@ export const importPointDeRassemblement = async (pdrFilePath: string) => { } // suppression logique de tous les PDR sans matricule (legacy) - await PointDeRassemblementModel.updateMany({ matricule: { $exists: false } }, { $set: { deletedAt: new Date() } }); + await PointDeRassemblementModel.updateMany({ matricule: { $exists: false }, deletedAt: { $exists: false } }, { $set: { deletedAt: new Date() } }); return report; };