Skip to content

Commit

Permalink
fix(igdb_id): make it nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
DevYukine committed Aug 3, 2024
1 parent 697101a commit 6f39a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Models/RomM/Platform/RomMPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
2 changes: 1 addition & 1 deletion Models/RomM/Rom/RomMRomPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 6f39a73

Please sign in to comment.