From c5a864b33d552f36e75e77c0b154ec0c2ba502dc Mon Sep 17 00:00:00 2001 From: Eric J Fisher Date: Sun, 23 May 2021 18:04:54 -0400 Subject: [PATCH] Fixed a bug where sometime eddb_id could be received as null causing bgsbuddy to error. --- BGSBuddy/BGSBuddy.csproj | 2 +- Repositories/EliteBgsTypes/EliteBgsSationRequest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BGSBuddy/BGSBuddy.csproj b/BGSBuddy/BGSBuddy.csproj index c1cc5af..783417f 100644 --- a/BGSBuddy/BGSBuddy.csproj +++ b/BGSBuddy/BGSBuddy.csproj @@ -4,7 +4,7 @@ WinExe net5.0-windows true - 1.0.1.3 + 1.0.1.4 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/EliteBgsSationRequest.cs b/Repositories/EliteBgsTypes/EliteBgsSationRequest.cs index 1311803..a9dea37 100644 --- a/Repositories/EliteBgsTypes/EliteBgsSationRequest.cs +++ b/Repositories/EliteBgsTypes/EliteBgsSationRequest.cs @@ -73,7 +73,7 @@ public partial class Doc public DateTimeOffset UpdatedAt { get; set; } [JsonProperty("eddb_id")] - public long EddbId { get; set; } + public long? EddbId { get; set; } [JsonProperty("all_economies")] public List AllEconomies { get; set; }