Skip to content

Commit

Permalink
Fix typo in API model for GameAssets
Browse files Browse the repository at this point in the history
This would cause the large asset's Image ID (and in turn, Image URL) and
hover text to be reversed.
  • Loading branch information
foxbot committed Jan 7, 2018
1 parent 9d77a3c commit 0f2af47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Discord.Net.Rest/API/Common/GameAssets.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Discord.API
{
Expand All @@ -8,9 +8,9 @@ internal class GameAssets
public Optional<string> SmallText { get; set; }
[JsonProperty("small_image")]
public Optional<string> SmallImage { get; set; }
[JsonProperty("large_image")]
public Optional<string> LargeText { get; set; }
[JsonProperty("large_text")]
public Optional<string> LargeText { get; set; }
[JsonProperty("large_image")]
public Optional<string> LargeImage { get; set; }
}
}
}

0 comments on commit 0f2af47

Please sign in to comment.