From 6f39a73043b928ad559a0228609810ade04a2090 Mon Sep 17 00:00:00 2001 From: Yukine Date: Sat, 3 Aug 2024 22:55:23 +0200 Subject: [PATCH] fix(igdb_id): make it nullable --- Models/RomM/Platform/RomMPlatform.cs | 2 +- Models/RomM/Rom/RomMRomPlatform.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/RomM/Platform/RomMPlatform.cs b/Models/RomM/Platform/RomMPlatform.cs index 2cc67ae..e340380 100644 --- a/Models/RomM/Platform/RomMPlatform.cs +++ b/Models/RomM/Platform/RomMPlatform.cs @@ -22,7 +22,7 @@ public class RomMPlatform public int RomCount { get; set; } [JsonProperty("igdb_id")] - public ulong IgdbId { get; set; } + public ulong? IgdbId { get; set; } [JsonProperty("sgdb_id")] public object SgdbId { get; set; } diff --git a/Models/RomM/Rom/RomMRomPlatform.cs b/Models/RomM/Rom/RomMRomPlatform.cs index eae4ec8..adf1c78 100644 --- a/Models/RomM/Rom/RomMRomPlatform.cs +++ b/Models/RomM/Rom/RomMRomPlatform.cs @@ -5,7 +5,7 @@ namespace RomM.Models.RomM.Rom public class RomMRomPlatform { [JsonProperty("igdb_id")] - public int IgdbId { get; set; } + public int? IgdbId { get; set; } [JsonProperty("name")] public string Name { get; set; }