AnApiOfIceAndFire icon indicating copy to clipboard operation
AnApiOfIceAndFire copied to clipboard

Bug: The 'died' field is not populating

Open higgins opened this issue 9 months ago • 0 comments

The character's died field is not populating as we expect.

Example: https://anapioficeandfire.com/api/characters/49

currently returns:

{
  "url": "https://anapioficeandfire.com/api/characters/49",
  "name": "Aemma Arryn",
  "gender": "Female",
  "culture": "",
  "born": "In 82 AC",
  "died": "",
  "titles": [
    "Queen"
  ],
  "aliases": [],
  "father": "",
  "mother": "",
  "spouse": "https://anapioficeandfire.com/api/characters/1076",
  "allegiances": [
    "https://anapioficeandfire.com/api/houses/7",
    "https://anapioficeandfire.com/api/houses/378"
  ],
  "books": [
    "https://anapioficeandfire.com/api/books/9",
    "https://anapioficeandfire.com/api/books/10",
    "https://anapioficeandfire.com/api/books/11"
  ],
  "povBooks": [],
  "tvSeries": [],
  "playedBy": []
}

which but according to your data sets, the died field should return "In 105 AC" https://github.com/joakimskoog/AnApiOfIceAndFire/blob/844e3553b3b81b3ba9c4be6eef02bd7979b3e3ba/src/AnApiOfIceAndFire.Setup/csv/characters.csv#L50

higgins avatar May 07 '24 23:05 higgins