Skip to content

Commit

Permalink
Merge pull request #936 from matchID-project/fix/anonymize-remove
Browse files Browse the repository at this point in the history
anonymize all data in "remove" case
  • Loading branch information
rhanka authored Nov 9, 2024
2 parents 2e99024 + 5caf601 commit 03082f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/tools/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,12 @@ const correct = (person) => {
}
if (person.correction.change === "remove") {
person.name = { first: ["INCONNU"], last: "INCONNU"};
person.birth.sex = undefined;
person.sex = undefined;
person.birth.date = "XXXX";
person.birth.location = {
departmentCode: "",
country: person.birth.location.country,
countryCode: person.birth.location.countryCode
departmentCode: undefined,
country: undefined,
countryCode: undefined
}
person.death = undefined;
}
Expand Down

0 comments on commit 03082f1

Please sign in to comment.