Closed BitBaboonSteve closed 5 years ago
From the /sovereignty/map/ endpoint?
Proposed fix:
public class SystemSovereignty { [JsonProperty("alliance_id")] public int AllianceId { get; set; } [JsonProperty("corporation_id")] public int CorporationId { get; set; } [JsonProperty("faction_id")] public int FactionId { get; set; } [JsonProperty("system_id")] public int SystemId { get; set; } }
Temporary fix for users of ESI.NET:
public class SystemSovereigntyTemp : SystemSovereignty { [JsonProperty("alliance_id")] public int AllianceId { get; set; } [JsonProperty("corporation_id")] public int CorporationId { get; set; } }
The ESI.NET.Models.Sovereignty.SystemSovereignty only contains the faction_id; yet this can return both a corp corporation_id and an alliance id.