From f3954d1e4b21a9f25a5c5d487fdfed6cc60618f5 Mon Sep 17 00:00:00 2001 From: Eric J Fisher Date: Wed, 15 Dec 2021 04:23:57 -0500 Subject: [PATCH] Handled rare situation where EliteBGS API would return and EDDBID of null. --- BGSBuddy/BGSBuddy.csproj | 2 +- Repositories/EliteBgsTypes/EliteBgsFactionRequest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BGSBuddy/BGSBuddy.csproj b/BGSBuddy/BGSBuddy.csproj index 783417f..aae2638 100644 --- a/BGSBuddy/BGSBuddy.csproj +++ b/BGSBuddy/BGSBuddy.csproj @@ -4,7 +4,7 @@ WinExe net5.0-windows true - 1.0.1.4 + 1.0.1.5 Eric J Fisher Application that pulls Back Ground Simulation information about a given faction for Elite Dangerous then produces a situtation report to help with BGS planning. diff --git a/Repositories/EliteBgsTypes/EliteBgsFactionRequest.cs b/Repositories/EliteBgsTypes/EliteBgsFactionRequest.cs index 7d2bb40..68592d6 100644 --- a/Repositories/EliteBgsTypes/EliteBgsFactionRequest.cs +++ b/Repositories/EliteBgsTypes/EliteBgsFactionRequest.cs @@ -48,7 +48,7 @@ public partial class Doc public string Allegiance { get; set; } [JsonProperty("eddb_id")] - public long EddbId { get; set; } + public long? EddbId { get; set; } [JsonProperty("faction_presence")] public List FactionPresence { get; set; }