esi / esi-issues

Issue tracking and feature requests for ESI
https://esi.evetech.net/
209 stars 23 forks source link

NPC corporation ceo_id is invalid #1360

Open joaomlneto opened 1 year ago

joaomlneto commented 1 year ago

Bug

Similar to #453, ESI returns an invalid ceo_id value of 1 for some corporations.

Request

curl https://esi.evetech.net/latest/corporations/1000441

Response

{
  "ceo_id": 1,
  "creator_id": 1,
  "description": "The Deathless Wraiths are the elite infiltration, espionage, and smuggling wing of the Deathless Circle. With members drawn from among the earliest associates of the Deathless, and an emphasis on all the arts and crafts of space navigation and combat, the Wraiths also function as the main command and combat group of the Circle. <br><br>In common with many pirate organizations in New Eden, the Wraiths are by no means the only group in the Circle that carries out the tasks it specializes in but they are generally considered the tip of the spear when it comes to espionage and technology \"acquisition\" operations. While the Wraiths are deferred to on many issues, the true leadership of the Deathless Circle resides with the Deathless and his closest advisors and most trusted operatives.",
  "home_station_id": 60015187,
  "member_count": 0,
  "name": "Deathless Wraiths",
  "shares": 0,
  "tax_rate": 0,
  "ticker": "DTH-W",
  "url": ""
}

Expected

A valid ceo_id. Suggestion is to make ceo_id field optional.

Checklist

Check all boxes that apply to this issue: