Skip to content

Commit

Permalink
Merge pull request #16 from bmeijwaard/foreignNames.multiverseId_exce…
Browse files Browse the repository at this point in the history
…ption

foreignNames.multiverId can be null
  • Loading branch information
jregnier authored Mar 29, 2019
2 parents e5ce21e + 57ab24d commit c816f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MtgApiManager.Lib/Dto/Cards/ForeignNameDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public string Language
}

[JsonProperty(PropertyName = "multiverseid")]
public int MultiverseId
public int? MultiverseId
{
get;
set;
Expand Down
2 changes: 1 addition & 1 deletion MtgApiManager.Lib/Model/Card/ForeignName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public string Language
/// <summary>
/// Gets the multiverse identifier of the card for the foreign name.
/// </summary>
public int MultiverseId
public int? MultiverseId
{
get;
private set;
Expand Down

0 comments on commit c816f8e

Please sign in to comment.