diff --git a/projects/Canary/Models/DeathRecordFaker.cs b/projects/Canary/Models/DeathRecordFaker.cs index 0acf92f9..6874fb69 100644 --- a/projects/Canary/Models/DeathRecordFaker.cs +++ b/projects/Canary/Models/DeathRecordFaker.cs @@ -77,7 +77,7 @@ public override DeathRecord Generate(bool simple = false) record.DateOfDeath = deathUtc.ToString("yyyy-MM-dd"); int age = death.Year - birth.Year; if (birthUtc > deathUtc.AddYears(-age)) age--; - record.AgeAtDeath = new Dictionary() { { "value", age.ToString() }, { "unit", "a" } }; + record.AgeAtDeath = new Dictionary() { { "value", age.ToString() }, { "code", "a" } }; // Place of residence